security-add-item-acl-by-id
Grant or deny specific permissions to users or roles for a Sitecore item by its ID. Control access rights like item read/write, field editing, workflow execution, and database operations.
Instructions
Adds an access control entry to a Sitecore item by its ID.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID of the item to add ACL entry for | |
| identity | Yes | The identity of the account (user or role) to grant permissions to (e.g. 'sitecore\admin') | |
| accessRight | Yes | The access right to grant (e.g. 'item:read', 'item:write') | |
| propagationType | No | The propagation type for the access right | Entity |
| securityPermission | No | Whether to allow or deny the specified access right | AllowAccess |
| database | No | The database containing the item (defaults to the context database) |