-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Phase Out hasElevatedPerms function #61
Milestone
Comments
Example use case: if we have a volunteer list and add volunteers to the API, maybe volunteers have elevated access to do things like check people in - would be nice to have. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Replace this with newly-added
hasStaffPerms
andhasAdminPerms
functions. Advantages: more granularity, and it's easier for us to define custom behaviors per-roles, as opposed to having a single "catch-all" role for elevated perms.https:/HackIllinois/adonix/blob/8169ebb4b2a9b489074296c72ef19a7b8369cbad/src/services/auth/auth-lib.ts#L284C1-L284C77
The text was updated successfully, but these errors were encountered: