...
Effect - whether the policy denies or allows the action. Value can be
deny
orallow
.Action - which action is this policy for. For example read, create, update, delete, etc. Go to the Actions page to learn more.
Resources Resource - the Plate functionality names that the policy is about. E.g. attachments, or content types. These functionality names are notated in PlateID format. Go to the Resources page to learn more.
Conditions Condition - the conditions under which the policy takes effect. For example, the policy only takes effect if the site_id of the resource in question is equal to 1234. Go to the Conditions page to learn more.
...
Code Block | ||
---|---|---|
| ||
{ "version": 1, "statement": { "effect": "allow", "action": "create", "resourcesresource": "plateid://Base/Attachment", "conditionscondition": { "number": { "==": {"object.site_id": 1234} } "string": { "==": {"subject.email": "test@email.com"} } } } } |
...