Skip to content

[CAL-914] Booking of different time duration than the settings should not be possible #6155

@odicho

Description

@odicho

Issue Summary

You can make modifications to the URL parameters and essentially override the calendar owner's settings. For example, if I only want others to be able to schedule 10 minutes meetings every 10 minutes, I don't want them to be able to just change a URL parameter and request a 1 hour meeting and block out my schedule like that.

Steps to Reproduce

  1. The duration in settings is set to 10 minutes:
    image

  2. Go to my link and add a URL param of duration, for example:
    https://cal.com/amanuel/30min?duration=15

  3. The UI actually lists a slot every 15 minutes and 15 minutes in length
    image

  4. Booking is actually confirmed for 15 minutes:
    image

  5. It also shows up in my dashboard under upcoming bookings:
    image

  6. This can be reproduced using any number for the duration.

CAL-914

Metadata

Metadata

Assignees

No one assigned

    Labels

    Medium priorityCreated by Linear-GitHub SynclinearSync Github Issue from community members to Linear.app🐛 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions