Skip to content

TemplateGrantBuilder

Grant of Property access on a Template’s Items to a Template Role.

TemplateBuilder.addGrant

addProperty(property): void

Adds one or more Properties to this Grant. Adding a Property twice adds it once.

PropertyBuilder | PropertyBuilder[]

Property or Properties the Role may access.

void


toDefinition(): TemplateGrantDefinition

Emits the Grant Definition, including the keys of the granted Properties.

TemplateGrantDefinition

BaseGrantBuilder.toDefinition