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 admin user, I want to be able to manage the roles of other members in my team. I should only be able to select a role that is available for the current tenant and assign it to a user who does not already have a role assigned. I should not be able to change my own role. The list of members should be filtered based on the roles that are available for the current tenant and only show users who do not already have a role assigned.
User Story:
As an admin user, I want to access the "manage members" screen to view and manage the roles of other members in my team.
Given: The user is an admin and is logged in When: The user clicks on the "manage members" button Then: The "manage members" screen should be displayedAs an admin user, I want to be able to assign a role to a member who does not already have one.
Given: The user is on the "manage members" screen When: The user selects a member without a role and clicks on the "assign role" button Then: The user should be able to select a role from the available roles for the current tenant And: The selected role should be assigned to the member
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.