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
Name | Type |
---|---|
permissions | Permissions |
filter | ("project.close" | "subproject.close" | "workflowitem.close" )[] |