Skip to content

SudoSOS Back-end API / rbac / ActionDefinition

Interface: ActionDefinition ​

The action definition interface defines a mapping from ownership relation of the subject entity to the allowed attributes. Typical ownership relations are 'own', 'created', and 'all'.

Using the 'all' relation defines access regardless of ownership.

Indexable ​

ts
[relation: string]: Set<string>