Skip to content

Frontend: Custom role creation call + status toast #573

In review
openedx/frontend-app-admin-console
#297

Description

@rodmgwgu

Wire the wizard "Create" action to the Custom Roles API create endpoint (ADR from #469), with pending -> success/error toast handling and redirect to the new role's detail view (or back to the table) on success.

Acceptance

  • Create endpoint called with name + resource type + permissions.
  • Pending state shown; success and failure toasts.
  • Server validation errors (e.g. duplicate name) surfaced inline.

Design: https://www.figma.com/design/xnmQJq1cTRVqNrs31R8zDM/AuthZ---v2?node-id=40000174-2&p=f&t=AfaPxKGH7lD48V93-0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

willow

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions