You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 25, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 25, 2025. It is now read-only.
Ensure that the client always knows what the server permits #2269
this will fail even if they're an administrator of the chapter this event belongs to. This is because the checker function needs the chapterId to see if the administrator has the permission and it needs the list of events to get the chapterId.
The potential solutions
make events + venues available to the client
stop client side checking and, instead, query the server whenever the client needs to know what's allowed
put events and venues inside the user object. That way checker can find chapterId just by inspecting `user
Option 3 seems like the cleanest solution to me, but I'd welcome any opinions before I try to implement this.
Activity