Skip to content

[Story]: Dedicated role-management view (PM/Admin) reachable from settings #243

Description

@adoLime

User Story

As a PM/Admin, I want a dedicated role-management view (list, create, retire, assign functional project roles) reachable from the settings hub, so that I can manage roles in a proper full-screen view instead of only through a modal in the team-management page.

Context & Motivation

Acceptance Criteria

  • A dedicated role-management view exists (full page, not a modal): lists all functional project roles with name, description, and assigned-member count.
  • PM/Admin can create a new role (name + description) from the view.
  • PM/Admin can retire (delete) a role from the view, with a confirm step.
  • PM/Admin can assign / unassign a role to/from a user from the view.
  • The view is reachable from the settings hub for users with PM/Admin role; non-PM/Admin see a hidden / 403-equivalent section (RBAC [Story]: RBAC with Admin / User separation #93).
  • Reuses the existing role CRUD service / ProjectRoleController — no new backend endpoint.
  • All actions use icon + text labels (not colour alone — per AGENTS.md §7); responsive (desktop primary, mobile stacks — §8); works in light/dark themes.
  • Empty / loading / error states; i18n (en/de).

Sub-Tasks (by team)

  • Frontend — dedicated role-management view (list / create / retire / assign-unassign); wire to existing role CRUD service; RBAC-gated entry from the settings hub.
  • QA — tests for role CRUD in the view, PM/Admin access vs. non-PM/Admin 403, responsive + light/dark.

Dependencies

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requeststoryteam:frontendFrontend team (sprintstart-frontend, React)

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions