security-test-item-acl-by-id
Test user or role access rights to Sitecore items by ID to verify permissions for actions like reading, writing, or deleting content.
Instructions
Tests whether a user or role has specific access rights to a Sitecore item by its ID.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID of the item to test access rights on | |
| 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) |