security-test-item-acl-by-path
Verify user or role access permissions to Sitecore items by path, testing specific rights like read or write for security validation.
Instructions
Tests whether a user or role has specific access rights 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-test-item-acl-by-path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The path of the item to test access rights on (e.g. /sitecore/content/Home) | |
| identity | Yes | The identity of the user or role to test (e.g. 'sitecore\admin') | |
| accessRight | Yes | The access right to test (e.g. 'item:read', 'item:write') | |
| propType | No | The propagation type for the access right | |
| database | No | The database containing the item (defaults to the context database) |