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:6


Permissions#

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

Defined in#

src/service/domain/permissions.ts:5

Variables#

permissionsSchema#

Const permissionsSchema: ObjectSchema

Defined in#

src/service/domain/permissions.ts:8

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:18