security-set-item-acl-by-path
Set access control permissions for Sitecore items by specifying path, identity, and access rights to manage security settings.
Instructions
Sets an access control entry to a Sitecore item by its path.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"identity": "<identity>",
"accessRight": "<accessRight>"
},
"name": "security-set-item-acl-by-path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The path 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 |