Skip to content

Task - RBAC AuthZ - US: M2.8 Assign role wizard - Step 2 scope selection #92

@jacobo-dominguez-wgu

Description

@jacobo-dominguez-wgu

Description

Create the step 2 for the assign role wizard including the scope selection, scope filtering, submitting and feedback.

Image

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions