Skip to content

ATM-147 Update the Database and Backend for the necessary changes#150

Merged
loganravin4 merged 35 commits into
devfrom
colin/update/roles
Apr 22, 2026
Merged

ATM-147 Update the Database and Backend for the necessary changes#150
loganravin4 merged 35 commits into
devfrom
colin/update/roles

Conversation

@wongcolin45
Copy link
Copy Markdown
Collaborator

@wongcolin45 wongcolin45 commented Mar 29, 2026

  • Added RoleType and isVotingMember fields to User table
  • Added new RoleTypes: Super Admin, Admin, Senator, None
  • Refactored all backend and frontend logic to use RoleType and isVotingMember fields instead of RoleTable
  • Abstracted all role checking logic in frontend into new utils/permissions file (file handles all permission logic)
  • Added backend guards

@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
attendance-manager Ready Ready Preview, Comment Apr 14, 2026 2:18pm

Comment thread .github/workflows/ci.yml Outdated
Comment thread attendance-manager/prisma/schema.prisma Outdated
@loganravin4 loganravin4 merged commit ab02a57 into dev Apr 22, 2026
4 checks passed
@loganravin4 loganravin4 deleted the colin/update/roles branch April 22, 2026 02:12
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