Description
Create the step 2 for the assign role wizard including the scope selection, scope filtering, submitting and feedback.
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 2 — Where It Applies
- Step 2 is titled "Where It Applies."
- There is a search bar to search scopes by name.
- Next to the search bar there is an Organization filter with the same behavior as in M2.5.
- Scopes are organized by organization, with a header showing the organization name.
- Each scope item has a checkbox. Multiple scopes can be selected.
- Users with
manage_course_team at the organization level see an additional option "All courses in this organization" at the top of that organization's section.
- Users with
manage_library_team at the organization level see an equivalent "All libraries in this organization" option.
- Users with platform-wide permissions see equivalent global scope options.
- Users without these higher-scope permissions do not see these options.
- The scope list uses infinite scroll.
- Selections are preserved when the user searches or filters. Selections are not preserved when scrolling.
- Clicking Save shows a loading state while the request is in flight.
- On success, a toast appears and the user is redirected to the previous view.
- On error, the existing error toast logic is reused. The user remains in Step 2 to retry.
Design
https://www.figma.com/design/onU2END2OXaF7RRLWEHsZI/AuthZ---v2?node-id=7639-19185&t=FLJ7Zz9Qhu9MtJVZ-4
Description
Create the step 2 for the assign role wizard including the scope selection, scope filtering, submitting and feedback.
General
Step 2 — Where It Applies
manage_course_teamat the organization level see an additional option "All courses in this organization" at the top of that organization's section.manage_library_teamat the organization level see an equivalent "All libraries in this organization" option.Design
https://www.figma.com/design/onU2END2OXaF7RRLWEHsZI/AuthZ---v2?node-id=7639-19185&t=FLJ7Zz9Qhu9MtJVZ-4