-
Notifications
You must be signed in to change notification settings - Fork 50
SecureUser
bpmn-server / SecureUser
- canAssign
- canDeleteModel
- canInvoke
- canModifyModel
- canStart
- inGroup
- isAdmin
- isSystem
- qualifyDeleteInstances
- qualifyInstances
- qualifyItems
- qualifyModels
- qualifyStartEvents
- qualifyViewItems
- SystemUser
• new SecureUser(params
): SecureUser
Name | Type |
---|---|
params |
IUserInfo |
• Optional
modelsOwner: any
• Optional
tenantId: any
• userGroups: any
• userName: any
▸ canAssign(item
): boolean
Name | Type |
---|---|
item |
any |
boolean
▸ canDeleteModel(name
): boolean
Name | Type |
---|---|
name |
any |
boolean
▸ canInvoke(item
): boolean
Name | Type |
---|---|
item |
any |
boolean
▸ canModifyModel(name
): boolean
Name | Type |
---|---|
name |
any |
boolean
▸ canStart(name
, startNodeId
, user
): Promise
<void
>
Name | Type |
---|---|
name |
any |
startNodeId |
any |
user |
any |
Promise
<void
>
▸ inGroup(userGroup
): boolean
Name | Type |
---|---|
userGroup |
any |
boolean
▸ isAdmin(): boolean
boolean
▸ isSystem(): boolean
boolean
▸ qualifyDeleteInstances(query
): any
alters the query adding conditions based on security rules
Name | Type |
---|---|
query |
any |
any
query
ISecureUser.qualifyDeleteInstances
▸ qualifyInstances(query
): any
alters the query adding conditions based on security rules
Name | Type |
---|---|
query |
any |
any
query
▸ qualifyItems(query
): any
alters the query adding conditions based on security rules
Name | Type |
---|---|
query |
any |
any
query
▸ qualifyModels(query
): any
alters the query adding conditions based on security rules
Name | Type |
---|---|
query |
any |
any
query
▸ qualifyStartEvents(query
): any
alters the query adding conditions based on security rules
Name | Type |
---|---|
query |
any |
any
query
ISecureUser.qualifyStartEvents
▸ qualifyViewItems(query
): Promise
<void
>
alters the query adding conditions based on security rules
Name | Type |
---|---|
query |
any |
Promise
<void
>
query
▸ SystemUser(): SecureUser