The Role Object
Unique identifier (UUID)
Role name (e.g., “editor”, “developer”)
Role description
Permission settings for each resource type
Creation timestamp (ISO 8601 format)
Last update timestamp (ISO 8601 format)
Permission Categories
Roles control access to 10 resource types, each with specific actions:Administrative Resources
| Resource | Actions | Description |
|---|---|---|
organizations | read, update, delete | Organization settings access |
projects | create, read, update, delete | Project management |
users | create, read, update, delete | User management |
roles | create, read, update, delete | Role management |
apiKeys | create, read, update, delete | API key management |
Development Resources
| Resource | Actions | Description |
|---|---|---|
components | create, read, update, delete | Component development |
packages | create, read, update, delete | Package publishing |
contentTypes | create, read, update, publish, delete | Content type management |
Content Resources
| Resource | Actions | Description |
|---|---|---|
content | create, read, update, publish, delete | Content management |
assets | create, read, update, delete | Asset management |
Content and content types have a separate
publish permission, allowing editorial workflows where users can create and update drafts but not publish.Inherited Permissions
Certain organizational features inherit permissions from related core resources:- Collections: Inherit from
componentspermissions - Folders: Inherit from the resources they organize
- Saved Searches: Inherit from
contentandassetspermissions - Tags: Inherit from
contentandassetspermissions - Preview Links: Inherit from source resource permissions
Example Role Object
Permission Computation
When checking a user’s permissions:- All roles assigned to the user are retrieved
- Permissions from all roles are merged using OR logic
- If any role grants a permission, the user has that permission
