webkom / lego

Backend for abakus.no
https://lego.abakus.no
MIT License
54 stars 20 forks source link

Restrict users so they can't register for two events happening at the same time #2383

Open juniwbjerde opened 2 years ago

juniwbjerde commented 2 years ago

As LEGO is now there are no restrictions for registrations on a event that depends on other events the user has registered for.

It would be nice if we added a restriction so that no user could register for a event if they have already registered for another event happening at the same time. This is because:

ivarnakken commented 1 year ago

Very cool feature, but I'd like to add that some events span across multiple days, even though they don't require people to attend multiple days Example: image

I think a simple warning is better than to restrict entirely.