- Object types
Rule
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.
If you have suggestions for improving this article, let us know!