UserManagementConfig
UserManagementConfig =
object
Defined in: packages/admin/src/types.ts:214
Configuration for the built-in user management views.
Controls which roles can be assigned through the admin UI. Role assignment
respects your auth adapter’s setRole and removeRole callbacks.
Example
Section titled “Example”const users: UserManagementConfig = { assignableRoles: ["user", "editor", "moderator", "admin"],};Properties
Section titled “Properties”assignableRoles?
Section titled “assignableRoles?”
optionalassignableRoles:string[]
Defined in: packages/admin/src/types.ts:216
The list of role names that can be assigned/removed via the admin user management UI. Defaults to an empty array (no role management).