Skip to main content

Roles & permissions

Route/ade/dashboard/roles

A role is a named set of permissions, and every member holds one. Roles shows them all on the left and the selected role's permission matrix on the right: which actions — View, Create, Edit, Delete and Publish — it grants on each resource. Go to Workspace → Roles, or click “Roles” on the Members page.

Roles: built-in and custom roles on the left; the Release manager role's description and permission matrix on the rightRoles: built-in and custom roles on the left; the Release manager role's description and permission matrix on the right
Route/ade/dashboard/roles

Anyone can browse the matrix. Changing roles needs members:edit, members:create or members:delete — roles are administered through the members permissions — and without them the editor says You can still browse the matrix. Creating and duplicating need members:create; deleting needs members:delete.

Built-in and custom roles​

The list is in two groups, each role with the number of members who hold it:

GroupRolesWhat you can change
Built-inOwner, Admin, Editor, Viewer — created with the workspaceThe description and the matrix. Not the name, and they cannot be deleted
CustomRoles your workspace createdEverything: name, description, matrix; delete

A built-in role keeps its name because seat licensing and identity-provider group mapping refer to it; the editor says so above the description.

The built-in Editor role: a note that built-in roles keep their name, and its matrixThe built-in Editor role: a note that built-in roles keep their name, and its matrix
Route/ade/dashboard/roles

Filter roles… narrows the list.

The permission matrix​

Rows are resources — Projects, Versions, Classes, Properties, Paths, Primitives / Types, Imports, Members, API keys, Billing, Lint findings, Verification targets, Verification evidence, Consumer contracts, Teams, Pacts and Document storage — each with the key the server checks under it (projects, api_keys, …). Columns are the actions: View, Create, Edit, Delete, Publish and Manage. Manage applies to Document storage only, which has no other action; a cell that is not a permission shows a dash. Each cell is a resource:action permission (for example versions:publish), checked on every REST route. The app applies the same check to its own screens — creating, editing, deleting or restoring a project, creating, disabling or deleting an API key, making a published version public or private, and starting an import — and only shows you workspaces you belong to.

  • Click a cell to grant or remove one permission.
  • Click the box at the start of a row to grant or remove the whole row. It shows a tick when the row is fully granted, a dash when it is partly granted, and is empty when nothing is.
  • “Grant view on all” ticks View on every resource; “Clear all” empties the matrix.

The line above the matrix counts what is on — 24 of 81 cells on.

Teams (teams) controls teams and their members. The built-in Owner and Admin roles hold all of it; Editor and Viewer can only view teams. Custom roles do not get it automatically — grant it on each custom role that should manage teams.

Pacts (pacts) controls the Pact Broker: pacticipants and their versions, branches and tags, and the pacts, verification results, environments, deployments, webhooks and provider states built on them, a pacticipant's owner team, the verification settings and re-publish requests, contract health and the workspace secrets webhooks and verification targets refer to (Viewer sees their names, never their values), and importing from another Pact Broker, which needs both create and edit. The built-in Owner and Admin roles hold all of it; Editor can view, create and edit but not delete, because deleting a pacticipant removes its whole version history; Viewer can only view. Custom roles do not get it automatically. Every change it allows is recorded in the Access audit.

Document storage (document_store) has one permission, Manage: choosing where the workspace's documents are kept — see Document storage. The built-in Owner and Admin roles have it; Editor and Viewer do not. Grant it on a custom role only for people who may handle the workspace's storage credentials.

What each role can do in Catalog, Projects and Versions​

The built-in roles, action by action. A button or menu item appears only for a role that can use it, and the REST API refuses the same action with 403 for a role that cannot. Owner here means a tenant administrator; Admin has the same rights in these areas.

AreaActionNeedsViewerEditorOwner
CatalogImport to catalogimports:create—✓✓
CatalogCancel an importimports:delete—✓✓
CatalogCategorizeprojects:edit—✓✓
CatalogSet up live refreshprojects:edit—✓✓
CatalogDismiss driftprojects:edit—✓✓
CatalogSet drift alertsimports:edit—✓✓
CatalogConvert to projectprojects:create—✓✓
CatalogDelete itemprojects:delete—✓✓
CatalogUndelete itemprojects:edit—✓✓
CatalogPermanently delete itemprojects:delete—✓✓
CatalogExport an itemany member✓✓✓
ProjectsNew projectprojects:create—✓✓
ProjectsEdit projectprojects:edit—✓✓
ProjectsDelete projectprojects:delete—✓✓
ProjectsUndelete projectprojects:edit—✓✓
ProjectsPermanently delete projectprojects:delete—✓✓
VersionsNew versionversions:create—✓✓
VersionsEdit versionversions:edit—✓✓
VersionsPublishversions:publish——✓
VersionsUnpublishversions:publish——✓
VersionsExport a versionany member✓✓✓
Export studioPreview, verify and generate an exportany member✓✓✓
Export studioExport several catalog items at onceany member✓✓✓
Export studioSee, download or cancel any member's export jobany member✓✓✓
Export studioTest-drive an export on a mock serverany member✓✓✓

Publishing and unpublishing also need you to be the revision's creator or a tenant administrator. Restoring a project needs projects:edit, the same as editing it. Version tags, forking, freezing and deleting a revision follow the same rule (versions:create, versions:edit, versions:delete), but the app does not offer them in this release.

Export jobs belong to the workspace, not to whoever started them, and are never visible from another workspace. The full table is on Export studio.

A custom role gets exactly what its matrix grants. For example, a role with projects:view and projects:create can create and convert projects, but can't delete them.

Edit a role​

  1. Select the role on the left.
  2. Change its name (custom roles only), its Description, or the matrix.
  3. Click “Save changes” — in the role's header, or on the bar that appears under the matrix.

While there are changes, the role shows an Unsaved badge, the list marks it with a dot, and the bar counts them — 2 unsaved changes — with Discard to drop them.

The Release manager role with an Unsaved badge and two cells changed in the matrixThe Release manager role with an Unsaved badge and two cells changed in the matrix
Route/ade/dashboard/roles

Saving replaces the role's whole grid, and the change is recorded in the Access audit with what was granted and revoked. Members holding the role get the new permissions straight away.

Leaving with unsaved changes​

Selecting another role, New role or Duplicate with unsaved changes asks first:

  • Keep editing — stay on the role, changes intact;
  • Discard — drop the changes and go;
  • Save and switch (or Save and continue) — save, then go.
Discard unsaved changes? You have 2 unsaved changes on Release manager. Switching to Viewer resets the draft.Discard unsaved changes? You have 2 unsaved changes on Release manager. Switching to Viewer resets the draft.
Route/ade/dashboard/roles

Closing the browser tab with unsaved changes brings up the browser's own warning.

Create a role​

  1. Click “New role” (or press N, or “New custom role” under the list).
  2. Give it a Name — it must be unique in the workspace.
  3. Under Copy permissions from, pick a role to start from, or Empty matrix (no permissions).
  4. Click “Create role”. The new role is selected; adjust its matrix and save.
The New role dialog: the name Support engineer, copying permissions from ViewerThe New role dialog: the name Support engineer, copying permissions from Viewer
Route/ade/dashboard/roles

To start from the selected role instead, click “Duplicate”: it copies the description and the whole matrix into a new custom role named … (copy), with no members.

Delete a role​

Only custom roles can be deleted.

  1. Select the role and click “Delete”.
  2. Read who holds it — members keep their accounts but lose every permission the role granted.
  3. Click “Delete role”. This cannot be undone.
Delete the role Release manager? Sam Okafor keeps their account but loses every permission this role granted.Delete the role Release manager? Sam Okafor keeps their account but loses every permission this role granted.
Route/ade/dashboard/roles

Give those members another role on Members & seats.

With the API​

See the API reference:

CallDoes
GET /v1/access/{tenant}/rolesEvery role with its permissions and member count
GET /v1/access/{tenant}/roles/{role_id}One role
POST /v1/access/{tenant}/rolesCreate a custom role (name, description, permissions)
PUT /v1/access/{tenant}/roles/{role_id}Replace a role's description, matrix and (custom only) name
POST /v1/access/{tenant}/roles/{role_id}/duplicateDuplicate a role
DELETE /v1/access/{tenant}/roles/{role_id}Delete a custom role
GET /v1/access/{tenant}/permissions/meThe calling user's own effective permissions

There is no CLI command for roles.

Where next​