Skip to content

[2b] User and department management #5

Description

@andrmaz

What to build

Admin can create departments within an organization and assign users to departments via a UserDepartment junction. Department assignments are persisted and surfaced in authenticated session context so downstream request paths can resolve department scope per user.

Acceptance criteria

  • Admin can create and list departments scoped to an organization.
  • Admin can assign a user to one or more departments.
  • Department assignment is reflected in the authenticated user's session/token claims.
  • Admin UI pages exist for departments and user assignment.
  • Integration tests cover assignment and session-enrichment paths.

Blocked by

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmvpCortex MVP scope

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions