TemplateRoleDefinition
Describes a Template Role that is resolved per Item by a handler.
- TemplateRoleBuilder for declaring a Template Role
- TemplateRoleInstance for checking the Role against an Item
Extends
Section titled “Extends”BaseRoleDefinition
Properties
Section titled “Properties”handler
Section titled “handler”handler:
TemplateRoleCallback
Returns the access identifiers that hold this Role for the given Item; the Runtime grants the Role when the current principal holds any of them.
readonlykey:string
Key of the Role, unique within its App or Template.
Inherited from
Section titled “Inherited from”BaseRoleDefinition.key
label?
Section titled “label?”
readonlyoptionallabel?:string
Display label given when the Role was added.
Inherited from
Section titled “Inherited from”BaseRoleDefinition.label
readonlyprn:string
PRN of the Role: prn::<app>:role/<key> for an App Role, <templatePrn>/role/<key> for a Template Role.
Inherited from
Section titled “Inherited from”BaseRoleDefinition.prn

