A actions definition block, typically contained within a resource type definition block. The actions represents the ways you can interact with a protected resource.
ResourceCreate
Optional
attributesAttributes that each resource of this type defines, and can be used in your ABAC policies.
ResourceCreate
Optional
descriptionAn optional longer description of what this resource respresents in your system
ResourceCreate
A URL-friendly name of the resource (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the resource.
ResourceCreate
The name of the resource
ResourceCreate
Optional
relationsRelations to other resources. The key is the relation key, and the value is the related resource.
ResourceCreate
Optional
rolesRoles defined on this resource. The key is the role name, and the value contains the role properties such as granted permissions, base roles, etc.
ResourceCreate
Optional
urnThe URN (Uniform Resource Name) of the resource
ResourceCreate
Generated using TypeDoc
Export
ResourceCreate