Write a user story for selecting roles for users on a "manage members" screen in a web…
- User
Write a user story for selecting roles for users on a "manage members" screen in a web application. Only one role should be selectable per user and only users with the admin permission can assign new roles. The user's own role cannot be changed. The screen should only be accessible by admin users. The available roles for the active tenant should be retrieved from the API
Assistant
As an administrator of our web application, I need to assign roles to users on the "Manage Members" screen so that they have the appropriate permissions to access and use the application.
User roles determine the level of access and permissions that a user has in the application. It is important that I can assign the correct role to each user to ensure that they have the necessary permissions to perform their job functions in the application.
Only one role should be selectable per user to ensure that each user has a clear set of permissions and responsibilities. The screen should prevent me from selecting multiple roles for a user to avoid confusion and potential security issues.
Only users with the "admin" permission should be able to assign new roles to other users. This ensures that only trusted and authorized users can modify the permissions of other users in the application.
The user's own role cannot be changed to prevent users from accidentally removing their own permissions and being unable to access the application.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.