Skip to content

Roles Update#587

Merged
JasonIsAzn merged 5 commits into
devfrom
roles
Jan 7, 2025
Merged

Roles Update#587
JasonIsAzn merged 5 commits into
devfrom
roles

Conversation

@JasonIsAzn
Copy link
Copy Markdown
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
Copy Markdown
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
@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