Skip to content

TemplateGrantDefinition

Grants a Role access to the Items of a Template and to a set of their Properties.

A principal’s readable Properties are the union of properties across the Template’s Grants whose Role it holds, plus every extension Property. A principal holding none of the Grants cannot read the Item at all, except for the Workspace Item.

Grant access

readonly properties: readonly BasicPropertyDefinition[]

Properties the Role may read, identified by key.


readonly rolePrn: string

PRN of the granted App Role or Template Role.

GrantDefinition.rolePrn