forked from cornellh4i/newbie-onboarding-fa24
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Branch: backend-role-protection-fullstack
Task at Hand
Implement your code in backend/src/middleware/auth.ts to ensure that the routes are working well.
Acceptance Criteria
All API routes in the server backend must be authentication protected. This means that only specific roles can access specific API routes. For now, implement it so that all users can retrieve information, only supervisors and above can create/edit events, and only admins can edit the FAQ page.
Notes
Ask us for help if needed.
Metadata
Metadata
Assignees
Labels
No labels