PrimeBrickPrimeBrick
  • Docs
  • Contact
  • MIT License
  • Documentation
  • MCP Server
  • API Catalog
  • Services
  • Libraries
PrimeBrickPrimeBrick

© 2026 PrimeBrick. MIT License. v3.11.2

github
Backend
    Roles and PermissionsWorking Together on the Same RecordManaging ModulesSigning In and MFA
    Generated
      Users ListCreate UserEdit UserRole Mappings ListCreate Role MappingEdit Role MappingOrganizations ListCreate OrganizationEdit OrganizationCustomers ListConfigurations ListCreate Configuration EntryModules ListEdit ModuleProfile ListEntity Field ReferenceFilter Operator ReferenceFilter Syntax GuideNavigation MapEntity API & Tool CatalogCreate ClientEdit ClientClients List
    Manual
    Developer Guide
Frontend
Microservices
powered by Zudoku
Generated

Role Mappings List

Manage role-to-permission mappings. Each role maps an IDP role to a set of Primebrick permissions.

Each row shows the IDP Role, the Organization, the Label Key, the Admin, the Permissions.

This role mapping is backed by the identity provider (Casdoor) — its identity fields are managed there.

Pages routes

  • /system/settings/roles — List, search and manage all role mappings. (this page)
  • /system/settings/roles/create — Create a new role.
  • /system/settings/roles/{uuid} — View and edit an existing role.

What you can do here

How to create a new role mapping

  1. Click New in the toolbar.
  2. Fill in the form — required: role, org, label key, selected permissions.
  3. Click Save — the new role mapping is created.

How to edit a role mapping

  1. Open the row actions menu on the role mapping and click Edit.
  2. Update the fields — required: label key, selected permissions.
  3. Click Save — the changes to the role mapping are saved.

How to view the change history of a role mapping

  1. Open the row actions menu on the role mapping and click Audit history.
  2. The version history of the role mapping will appear on the right sheet panel.

Columns

ColumnVisibleSortableFilterableNotes
IDP Roleyesyesyes
UUIDnoyesyes
Organizationyesyesyesthe Casdoor organization this row belongs to
Label Keyyesyesyes
Adminyesyesyes
Permissionsyesnono
  • The IDP Role column is shown by default and can be sorted and filtered.
  • The UUID column is hidden by default and can be sorted and filtered.
  • The Organization column is shown by default and can be sorted and filtered — the Casdoor organization this row belongs to.
  • The Label Key column is shown by default and can be sorted and filtered.
  • The Admin column is shown by default and can be sorted and filtered.
  • The Permissions column is shown by default and cannot be sorted or filtered.

Related entities

  • A Role Mapping is linked to Organizations through the Organization field — see Organizations.
  • A Role Mapping is linked to Roles through the Permissions field — see Roles.

Actions

Row actions

ActionStatusPermissionWhat it doesRequire Step-Up Auth
createENABLEDrole_mapping.create.singleCreates a new role mappingno
updateENABLEDrole_mapping.update.singleOpens the role mapping for editingno
deleteDISABLEDrole_mapping.delete.singleMarks the role mapping as deleted but keeps it so it can be restoredno
restoreDISABLEDrole_mapping.restore.singleBrings a soft-deleted role mapping backno
purgeENABLEDrole_mapping.delete.singleRemoves the role mapping foreveryes
audit historyENABLEDrole_mapping.read.auditShows the change history of the role mappingno
  • Creating a new role mapping is available on this page — the create action opens the create form in the same tab and it requires the role_mapping.create.single permission.
  • Editing a role mapping is available on this page — the row action opens the record in the same tab and it requires the role_mapping.update.single permission.
  • Soft-deleting a role mapping is not available on this page — if enabled, it would require the role_mapping.delete.single permission.
  • Restoring a soft-deleted role mapping is not available on this page — if enabled, it would require the role_mapping.restore.single permission.
  • Permanently deleting a role mapping is available on this page — removes the role mapping forever and it requires the role_mapping.delete.single permission, and step-up authentication is required.
  • Viewing the change history of a role mapping is available on this page — every role mapping keeps a full version history and it requires the role_mapping.read.audit permission.

Bulk actions

ActionStatusPermissionWhat it doesRequire Step-Up Auth
deleteDISABLEDrole_mapping.delete.bulkMarks the selected role mappings as deletedno
restoreDISABLEDrole_mapping.restore.bulkRestores the selected role mappingsno
duplicateDISABLEDrole_mapping.duplicate.bulkDuplicates the selected role mappingsno
exportDISABLEDrole_mapping.exportExports the listno
  • Soft-deleting the selected role mappings is not available on this page — if enabled, it would require the role_mapping.delete.bulk permission.
  • Restoring the selected role mappings is not available on this page — if enabled, it would require the role_mapping.restore.bulk permission.
  • Duplicating the selected role mappings is not available on this page — if enabled, it would require the role_mapping.duplicate.bulk permission.
  • Exporting the list is not available on this page — if enabled, it would require the role_mapping.export permission.

Doc references

  • Roles Create
  • Roles Edit
  • Organizations
  • Entities Crud
Last modified on October 28, 2026
Edit UserCreate Role Mapping
On this page
  • Pages routes
  • What you can do here
    • How to create a new role mapping
    • How to edit a role mapping
    • How to view the change history of a role mapping
  • Columns
  • Related entities
  • Actions
    • Row actions
    • Bulk actions
  • Doc references