Skip to main content

service/domain/permissions

Api Code Documentation / Exports / service/domain/permissions

Table of contents

Type Aliases

Variables

Functions

Type Aliases

ExposablePermissions

Ƭ ExposablePermissions: { [key in ExposableIntent]?: Identity[] }

Defined in

src/service/domain/permissions.ts:8


Permissions

Ƭ Permissions: { [key in default]?: Identity[] }

Defined in

src/service/domain/permissions.ts:7

Variables

permissionsSchema

Const permissionsSchema: ObjectSchema<any>

Defined in

src/service/domain/permissions.ts:10

Functions

getExposablePermissions

getExposablePermissions(permissions, filter): ExposablePermissions

Removes permissions which should not be returned to the user

Parameters

NameType
permissionsPermissions
filter("project.close" | "subproject.close" | "workflowitem.close")[]

Returns

ExposablePermissions

Defined in

src/service/domain/permissions.ts:20