Skip to main content

service/domain/workflow/global_permissions

Api Code Documentation / Exports / service/domain/workflow/global_permissions

Table of contents

Interfaces

Functions

Functions

identitiesAuthorizedFor

identitiesAuthorizedFor(globalPermissions, intent): Identity[]

Parameters

NameType
globalPermissionsGlobalPermissions
intentdefault

Returns

Identity[]

Defined in

src/service/domain/workflow/global_permissions.ts:31


permits

permits(globalPermissions, actingUser, intents): boolean

Parameters

NameType
globalPermissionsGlobalPermissions
actingUserServiceUser
intentsdefault[]

Returns

boolean

Defined in

src/service/domain/workflow/global_permissions.ts:38


validate

validate(input): Type<GlobalPermissions>

Parameters

NameType
inputany

Returns

Type<GlobalPermissions>

Defined in

src/service/domain/workflow/global_permissions.ts:26