-
Notifications
You must be signed in to change notification settings - Fork 5
Description
As a Library Member, I want to view the roles available for libraries with their descriptions and permissions, so that I can understand each role's capabilities.
Acceptance criteria
-
Placement
Integrated as a tab named Roles in the Library Team Management view, alongside Team Members and Permissions. -
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
List of Role Cards.
Each card shows the role name followed by the number of users on it, and a short description. Descriptions are WIP.
Each card includes a collapsible list of permissions grouped by category, Library, Content, Team, Collections.
Permissions are displayed as chips indicating whether that permission is included for the role. -
States
Loading uses skeleton 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 the roles and associated 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
Projects
Status