Skip to content

[Issue]: Department-based roles and server-side permissions #10

Open

Description

@MariyaSamrout

Branch Name

feature/10-permissions

Task

Description
Map each user's department to a role and enforce permissions on the server, so access control never depends on the desktop app.

Scope

  • Define the roles and what each one can do
  • Map departments to roles
  • Authorization policies in the API
  • Return 403 when a role lacks permission

Acceptance Criteria

  • A user's role is determined by their department
  • Protected endpoints check the required role
  • The API returns 403 when the role is not allowed
  • The roles and permissions are documented for the presentation to Nafissa

Checklist

  • I have checked for duplicate issues.
  • I have assigned the issue to the correct project board.
  • I have tagged the issue properly.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. added this to the Sprint - 1 milestone on Oct 25, 2026
  2. lauriechammah commented on Oct 26, 2026

    @lauriechammah
    Collaborator

    Review comments:

    • Acceptance criteria should be checkboxes (- [ ]) so progress can be tracked.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions