Skip to content

[Enhancement] Role change flow with confirmation and audit note #223

Description

@techifydev1

Allow admins to change a user's role (student <-> mentor <-> admin).

  • select control in the Actions tab of user detail
  • confirmation dialog stating consequences in plain language (e.g. mentor gains creator tools)
  • require an optional reason note that gets sent with the request
  • optimistic UI off: wait for the API response, then toast success/failure

Changing someone TO admin should be extra guarded: type-the-email confirmation, no bulk path may ever include this action.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions