bpmn-server / SecureUser
Class: SecureUser#
Implements#
Table of contents#
Constructors#
Properties#
Methods#
- SystemUser
- isAdmin
- isSystem
- inGroup
- qualifyInstances
- qualifyItems
- qualifyStartEvents
- qualifyDeleteInstances
- qualifyModels
- canModifyModel
- canDeleteModel
- qualifyViewItems
- canInvoke
- canAssign
- canStart
Constructors#
constructor#
• new SecureUser(params
): SecureUser
Parameters#
Name | Type |
---|---|
params |
IUserInfo |
Returns#
Defined in#
Properties#
userName#
• userName: any
Implementation of#
Defined in#
userGroups#
• userGroups: any
Implementation of#
Defined in#
tenantId#
• Optional
tenantId: any
Implementation of#
Defined in#
modelsOwner#
• Optional
modelsOwner: any
Implementation of#
Defined in#
Methods#
SystemUser#
▸ SystemUser(): SecureUser
Returns#
Defined in#
isAdmin#
▸ isAdmin(): boolean
Returns#
boolean
Implementation of#
Defined in#
isSystem#
▸ isSystem(): boolean
Returns#
boolean
Implementation of#
Defined in#
inGroup#
▸ inGroup(userGroup
): boolean
Parameters#
Name | Type |
---|---|
userGroup |
any |
Returns#
boolean
Implementation of#
Defined in#
qualifyInstances#
▸ qualifyInstances(query
): any
alters the query adding conditions based on security rules
Parameters#
Name | Type |
---|---|
query |
any |
Returns#
any
query
Implementation of#
Defined in#
qualifyItems#
▸ qualifyItems(query
): any
alters the query adding conditions based on security rules
Parameters#
Name | Type |
---|---|
query |
any |
Returns#
any
query
Implementation of#
Defined in#
qualifyStartEvents#
▸ qualifyStartEvents(query
): any
alters the query adding conditions based on security rules
Parameters#
Name | Type |
---|---|
query |
any |
Returns#
any
query
Implementation of#
ISecureUser.qualifyStartEvents
Defined in#
qualifyDeleteInstances#
▸ qualifyDeleteInstances(query
): any
alters the query adding conditions based on security rules
Parameters#
Name | Type |
---|---|
query |
any |
Returns#
any
query
Implementation of#
ISecureUser.qualifyDeleteInstances
Defined in#
qualifyModels#
▸ qualifyModels(query
): any
alters the query adding conditions based on security rules
Parameters#
Name | Type |
---|---|
query |
any |
Returns#
any
query
Implementation of#
Defined in#
canModifyModel#
▸ canModifyModel(name
): boolean
Parameters#
Name | Type |
---|---|
name |
any |
Returns#
boolean
Implementation of#
Defined in#
canDeleteModel#
▸ canDeleteModel(name
): boolean
Parameters#
Name | Type |
---|---|
name |
any |
Returns#
boolean
Implementation of#
Defined in#
qualifyViewItems#
▸ qualifyViewItems(query
): Promise
\<void
>
alters the query adding conditions based on security rules
Parameters#
Name | Type |
---|---|
query |
any |
Returns#
Promise
\<void
>
query
Implementation of#
Defined in#
canInvoke#
▸ canInvoke(item
): boolean
Parameters#
Name | Type |
---|---|
item |
any |
Returns#
boolean
Implementation of#
Defined in#
canAssign#
▸ canAssign(item
): boolean
Parameters#
Name | Type |
---|---|
item |
any |
Returns#
boolean
Implementation of#
Defined in#
canStart#
▸ canStart(name
, startNodeId
, user
): Promise
\<void
>
Parameters#
Name | Type |
---|---|
name |
any |
startNodeId |
any |
user |
any |
Returns#
Promise
\<void
>