Skip to content

Fix Route #11

@KrishDesai

Description

@KrishDesai

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
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions