Skip to content

Commit

Permalink
Remove access to check-in system for volunteers
Browse files Browse the repository at this point in the history
- Volunteers will no longer be assisting with primary event check-in
  • Loading branch information
taesungh committed Jan 22, 2024
1 parent b9186d2 commit 323831b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/api/src/routers/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
router = APIRouter()

ADMIN_ROLES = (Role.DIRECTOR, Role.REVIEWER, Role.CHECKIN_LEAD)
ORGANIZER_ROLES = (Role.ORGANIZER, Role.VOLUNTEER)
ORGANIZER_ROLES = (Role.ORGANIZER,)

require_checkin_associate = require_role(ADMIN_ROLES + ORGANIZER_ROLES)

Expand Down
2 changes: 1 addition & 1 deletion apps/site/src/lib/admin/authorization.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const ADMIN_ROLES = ["director", "reviewer", "checkin_lead"];
const ORGANIZER_ROLES = ["organizer", "volunteer"];
const ORGANIZER_ROLES = ["organizer"];

export function isApplicationManager(role: string | null) {
return role !== null && ADMIN_ROLES.includes(role);
Expand Down

0 comments on commit 323831b

Please sign in to comment.