Current behavior
The role filter currently displays all system roles globally, regardless of the user's specific domain or scope access.
Expected behavior
The roles displayed in the filter must be conditionally rendered based on the user's scope permissions:
- Single Scope: If a user only has roles related to Libraries, the filter should only show library-related roles. The same applies if they only have access to Courses.
- Multiple Scopes: If a user has roles across different domains (e.g., both Libraries and Courses), the filter should dynamically display all roles belonging to the domains they have access to.
US
As a user navigating the platform,
I want the role filter to only display roles relevant to my assigned scopes,
So that I don't get confused by options I don't have access to.
Current behavior
The role filter currently displays all system roles globally, regardless of the user's specific domain or scope access.
Expected behavior
The roles displayed in the filter must be conditionally rendered based on the user's scope permissions:
US
As a user navigating the platform,
I want the role filter to only display roles relevant to my assigned scopes,
So that I don't get confused by options I don't have access to.