Create Permission
Create a new permission in the AUTH module.
Define a new permission for granular access control.
Configuration
Inputs
| Name | Code | Type | Required | Description |
|---|---|---|---|---|
| Code | code | Text | Yes | Unique permission code |
| Description | description | Text | No | Permission description |
| Allowed Workflows | allowedWorkflows | Text[] | No | Allowed workflow codes |
| GraphQL Permissions | graphqlPermissions | Object | No | GraphQL operation permissions |
| File Permissions | filePermissions | Object | No | File access permissions |
| Permissions | permissions | Text[] | No | Child permission codes |
Outputs
| Name | Type | Description |
|---|---|---|
| id | Text | Created permission ID |
Usage
{
"code": "content.publish",
"description": "Ability to publish content",
"allowedWorkflows": ["publish-workflow"]
}Permission Naming
Use dot notation for hierarchical permissions:
content.readcontent.writecontent.publishadmin.users.manage