Skip to content

Conversation

@jsndz
Copy link

@jsndz jsndz commented Feb 4, 2025

Description

This PR fixes the issue where users could join or lead more than one hike at a time.

Changes

  • Added validation to prevent users from joining multiple beacons simultaneously.
  • Prevented users from leading multiple hikes.

Fixes #90: Prevent user from joining or leading more than one hike at a time.

@Akshatji800
Copy link
Member

@jsndz Why do we need this feature?

@jsndz
Copy link
Author

jsndz commented Feb 8, 2025

prevents scheduling conflicts and overlapping responsibilities. And i think it is better to have this constraints so that the group's safety wont be compromised.

@Akshatji800
Copy link
Member

Akshatji800 commented Feb 19, 2025

Doesn't make much sense to me. I might need a solid reason with a real time usecase to get convinced.

@jsndz
Copy link
Author

jsndz commented Feb 20, 2025

well if a user joins a hike at 9 am and the hike doesn't end till 1 pm he should not be allowed to join any other hike in between that time period since he can't be at 2 places

@jsndz jsndz closed this by deleting the head repository Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Not allow user from joining or leading more than one hike at any given time

2 participants