Skip to content
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

Roles Update #587

Merged
merged 5 commits into from
Jan 7, 2025
Merged

Roles Update #587

merged 5 commits into from
Jan 7, 2025

Conversation

JasonIsAzn
Copy link
Member

@JasonIsAzn JasonIsAzn commented Jan 6, 2025

Overview

  • Remove Lead power can no longer:
    • manually sign in/out user of event
    • access admin dashboard (only frontend side)
    • update roles
  • Add 'Coach' role and can only create/edit event and view QRCodes
    • This is to reduce micro-mangement of intramural practice events
  • Update Firebase rules to include coach to change event document

@JasonIsAzn JasonIsAzn requested a review from LucientZ January 6, 2025 23:09
Copy link
Collaborator

@LucientZ LucientZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I went in and added some documentation to the hasPrivileges function. Other than that, approved. Glad this is abstracted since the boolean chains were getting pretty long and annoying.

@JasonIsAzn JasonIsAzn merged commit de9dcde into dev Jan 7, 2025
1 check passed
@JasonIsAzn JasonIsAzn deleted the roles branch January 7, 2025 20:45
@JasonIsAzn JasonIsAzn self-assigned this Jan 8, 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.

2 participants