For the complete documentation index, see llms.txt. This page is also available as Markdown.

Permissions

Permissions define what actions a role can perform on specific resources. Each permission consists of a resource type, one or more actions, and optional conditions that further restrict access.


Accessing the permission editor

1

Navigate to Admin in the sidebar

2

Click Access Control

3

Click on a role to open its editor

The editor has three tabs:

  • Editor β€” Visual interface for managing permissions

  • Summary β€” Read-only overview of all permissions

  • JSON editor β€” Direct JSON editing for advanced users


Visual editor

The visual editor displays permissions in a sidebar on the left and a detail panel on the right.

Permission editor

Each permission in the sidebar shows:

  • Resource name β€” The short name of the resource type (e.g., "Dashboard")

  • Actions β€” Colored tags indicating which actions are granted

  • Indicators β€” Tags showing if the permission has conditions or context restrictions


Summary tab

The Summary tab provides a read-only overview of all permissions for the role. Each resource type is listed with its allowed actions and any conditions that apply.

Summary tab

Permissions are displayed in natural language format:

  • can [action] β€” The role is granted this action

  • cannot [action] β€” The role is explicitly denied this action

  • without conditions β€” The permission applies unconditionally

  • when [condition] β€” The permission is restricted by the specified condition

Clicking on a resource type or action navigates to the JSON editor filtered to that specific permission.


Adding a permission

1

Click New permission in the sidebar

2

Select a Resource type from the dropdown

3

Check the Allowed actions you want to grant

Configured permission
4

Optionally, expand Conditions or Context to add restrictions (see Conditions and Context conditions)

5

Click Save in the page header


Editing a permission

1

Click on the permission in the sidebar

2

Modify the resource type, actions, conditions, or context as needed

3

Click Save


Removing a permission

1

Click on the permission in the sidebar

2

Click Remove permission at the bottom of the detail panel

3

Confirm the removal

4

Click Save to persist the change

Changes are not persisted until you click Save. You can undo removals by navigating away without saving.


JSON editor

For advanced users or bulk editing, the JSON editor provides direct access to the raw permission configuration.

JSON editor

The JSON format is an array of permission objects:

Property
Description

resourceType

Fully qualified class name of the resource

actions

Array of action keys (e.g., view, create, modify, delete)

conditions

Array of condition objects (see Conditions)

Last updated