Skip to content

US: Compare role permissions #51

@MaferMazu

Description

@MaferMazu

As a Library Member, I want to compare the permissions of each role side by side, so that I can choose the right role for each person.

Figma: https://www.figma.com/design/q3Knq0BKoVTBbtaxb81n9R/RBAC---Console---Wireframes?node-id=2750-9659&t=71PeX22gyABqxnHu-4

Acceptance criteria

  • Placement
    Integrated as a tab named Permissions in the Library Team Management view, alongside Team Members and Roles.

  • Access
    Any user with a role in the library can view this tab.
    Non members cannot access this panel.

  • Header context
    Shows library name and library ID in the header.

  • Content
    Matrix table for comparison.
    Rows are permissions grouped by category, for example, Library, Content, Team, Collections.
    Columns are role names.
    Cells show whether the role includes the permission using symbols, ✓ for included, ✕ for not included.
    Category headers have a tooltip with a short description. Descriptions are WIP.

  • States
    Loading uses skeleton rows or blocks.
    Error shows a message with a Retry action.

Notes, out of scope for this card

  • Sorting and filters are separate stories.

  • There is an API GET endpoint to retrieve all roles and their permissions for the current scope.

  • API and error views are defined in a separate card. 401 and 403 use the same auth error view. 404 and general server errors use a not found or generic error view with a Retry.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions