Rule Object
A Rule Object represents a rule in a policy. It defines the conditions that must be met and the permissions that are applied on the entities that meet said conditions.
It is an object with the following properties:
Name | Type | Description |
---|---|---|
definition | Link | A link to the entity definition for which this rule applies. |
conditions | Array | An array containing Condition objects. |
permissions | Array | An array containing strings with permissions to apply. |
Example
See the User Policy Resource for an example policy document containing rules and conditions on a user.
Can we improve this article ? Provide feedback