Skip to content

New ticket! #1

@jasozh

Description

@jasozh

Branch: backend-role-protection-fullstack

Task at Hand

  1. Implement your code in backend/src/middleware/auth.ts, specifically the auth function.
  2. Confirm that your code and pull request follow the Pull Request Checklist.

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

No one assigned

    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