Skip to content

AppRoleBuilder

Defined in: builder/role.ts:26

A role is a concept that can access resources in Alpyne via a grant.

readonly extends: AppRoleBuilder[]

Defined in: builder/role.ts:27


readonly prn: string

Defined in: builder/index.ts:32

BaseRoleBuilder.prn

extend(role): BaseRoleBuilder

Defined in: builder/role.ts:35

Extends the supplied role, which must be from the sample template. The role extending the supplied role will (a) have the superset of fields from itself and the supplied role and (b) act as the supplied role for role assertions and checks.

BaseRoleBuilder

BaseRoleBuilder


setDescription(description): this

Defined in: builder/index.ts:33

string

this

BaseRoleBuilder.setDescription


toDefinition(): AppRoleDefinition

Defined in: builder/role.ts:37

AppRoleDefinition