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

Add authorization rules to each route #364

Open
asmahood opened this issue Feb 11, 2025 · 0 comments
Open

Add authorization rules to each route #364

asmahood opened this issue Feb 11, 2025 · 0 comments
Labels
type::Feature Issues/Pull requests that implement a new feature/enhancement work::Product Development

Comments

@asmahood
Copy link
Member

asmahood commented Feb 11, 2025

Description

We do not want all actions to be available to every executive. Some of these actions are quite destructive and we don't want just anyone with an account to be able to perform them. Thus we should start implementing authorization rules. The following rules should be implemented:

Executive (Meant for accounts associated to any general executive member, i.e. Promotional director, etc.)

  • Can view members, membership, and semester information
  • Can view events, structure, and event entry information
  • Can view rankings

Tournament Director

  • Everything from Executive plus...
  • Can create new members and memberships, as well as update member information and membership status
  • Can create, edit, end, and restart events
  • Can create, update, and delete structures
  • Can sign members in and out of events, add rebuys, and remove members from events

Secretary

  • Everything from Tournament Director plus...
  • Can view, add, edit, and remove items from the club inventory (feature coming soon TM)
  • Can view club finance information (featuring coming soon TM)
  • Can start the semester end officer transition (feature coming soon TM)

Treasurer

  • Everything from Tournament Director plus...
  • Can view the club inventory (feature coming soon TM)
  • Can view, add, edit, and delete items from the clubs finance accounts (feature comming soon TM)
  • Can start the semester end officer transition (feature coming soon TM)<!-- This section is for developers only, please do not include in your issue

Vice President

  • Everything from Tournament Director plus...
  • Can view club inventory (feature coming soon TM)
  • Can view club finances (feature coming soon TM)
  • Can start the semester end officer transition (feature coming soon TM)
  • Can create new semesters
  • Can add and remove members from the executive team (feature coming soon TM)

President

  • Everything from Vice President
@asmahood asmahood added type::Feature Issues/Pull requests that implement a new feature/enhancement work::Product Development labels Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type::Feature Issues/Pull requests that implement a new feature/enhancement work::Product Development
Projects
None yet
Development

No branches or pull requests

1 participant