logo
logo

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:

NameTypeDescription
definitionLinkA link to the entity definition for which this rule applies.
conditionsArrayAn array containing Condition objects.
permissionsArrayAn 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