security-test-item-acl
Verify whether a user or role holds a specific access right on a Sitecore item, using its ID or path and the access right to test.
Instructions
Tests whether a user or role has specific access rights to a Sitecore item.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The ID of the item to test access rights on. Supply this or path. | |
| path | No | The path of the item to test access rights on (e.g. /sitecore/content/Home). Supply this or id. | |
| database | No | Database to resolve an id against (default master). | |
| identity | Yes | The identity of the user or role to test (e.g. 'sitecore\admin') | |
| propType | No | The propagation type for the access right | |
| accessRight | Yes | The access right to test (e.g. 'item:read', 'item:write') |