security-set-item-acl-by-id
Set access control permissions for Sitecore items by ID to manage user or role access rights like item:read or item:write.
Instructions
Sets 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 | |
| path | No | master: | |
| 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 |