In GitLab by @christopher.batin on Nov 15, 2023, 14:32
Background
Car park rule: users are only allowed to make a maximum of 2 bookings per week. No restriction on desk bookings. At the moment, the app allows users to book more than 2 bookings a week but this new rule has been shared to the clubhouse so they are aware. This ticket is a future implementation.
User Story
+As+ a user of the Murray Spaces app
+I want+ all users to only be able to make a maximum of 2 bookings per week (Mon-Fri)
+So that+ the booking process is more fair and prevents anyone from making block booking
Acceptance Criteria
+Given+ a user has made 1 booking for the week
+When+ they attempt make a second booking for the same week
+Then+ they should be able to complete this action/ booking
Given a user has made 2 bookings for the week
When they attempt to make another booking for the same week
Then the action should be blocked as they have made the maximum number of bookings for the week
Given a user has made 2 bookings for one week
When they attempt to make new bookings for another week (as long as it has 0 - 1 confirmed bookings)
Then they should be able to complete this action as they have not exceeded the 2 bookings limit for the week
Tech Implementations/ Questions:
{color:#ff5630}To block users from making more than 2 bookings for the week, we could use a pop up feature to epain why they cannot finalise another booking {color}
{color:#ff5630}Any tickets to link? To complete before this or after this?{color}
In GitLab by @christopher.batin on Nov 15, 2023, 14:32
Background
Car park rule: users are only allowed to make a maximum of 2 bookings per week. No restriction on desk bookings. At the moment, the app allows users to book more than 2 bookings a week but this new rule has been shared to the clubhouse so they are aware. This ticket is a future implementation.
User Story
+As+ a user of the Murray Spaces app
+I want+ all users to only be able to make a maximum of 2 bookings per week (Mon-Fri)
+So that+ the booking process is more fair and prevents anyone from making block booking
Acceptance Criteria
+Given+ a user has made 1 booking for the week
+When+ they attempt make a second booking for the same week
+Then+ they should be able to complete this action/ booking
Given a user has made 2 bookings for the week
When they attempt to make another booking for the same week
Then the action should be blocked as they have made the maximum number of bookings for the week
Given a user has made 2 bookings for one week
When they attempt to make new bookings for another week (as long as it has 0 - 1 confirmed bookings)
Then they should be able to complete this action as they have not exceeded the 2 bookings limit for the week
Tech Implementations/ Questions: