Description
Create the step 1 for the assign role wizard which includes the inputs for usernames / emails and the role selection.
Acceptance criteria
General
- The "Assign Role" CTA is always visible in the console, both in the Team Members tab and in the Roles and Permissions tab.
- When accessing the wizard from the user audit view, the user input in Step 1 is pre-populated with that user.
- The wizard has a breadcrumb that exits the flow and returns to the previous view at any point.
- A Cancel button is available at the bottom of both steps. Clicking it returns to the previous view.
Step 1 — Who and Role
- Step 1 is titled "Who and Role."
- There is a text input to add one or more usernames or emails, separated by commas.
- Users must have an existing account. If any user in the batch does not exist, the input shows an error in red for the invalid entries and the flow is blocked until all entries are valid.
- Below the input there is a role selector using radio buttons. Only one role can be selected at a time. Selecting a new role deselects the previous one.
- Roles are grouped by courses and libraries. A user only sees the groups they have permissions to assign. If they have no library scopes, they do not see libraries. If they have no course scopes, they do not see courses.
- Course Editor and Course Auditor are grayed out and not selectable.
- There is a link to documentation for roles not available in the list.
- Clicking Next validates the users. If all users exist, the wizard moves to Step 2. If any do not exist, the flow is blocked.
Design
https://www.figma.com/design/onU2END2OXaF7RRLWEHsZI/AuthZ---v2?node-id=7639-19185&t=FLJ7Zz9Qhu9MtJVZ-4
Description
Create the step 1 for the assign role wizard which includes the inputs for usernames / emails and the role selection.
Acceptance criteria
General
Step 1 — Who and Role
Design
https://www.figma.com/design/onU2END2OXaF7RRLWEHsZI/AuthZ---v2?node-id=7639-19185&t=FLJ7Zz9Qhu9MtJVZ-4