canReadWorkflow
Function: canReadWorkflow()
canReadWorkflow(
context,action,launcherId?):string|boolean
Defined in: packages/workflow/src/models/workflowinstance.model.ts:56
Whether a caller may read or control an object launched by launcherId
Parameters
context
IOperationContext
the caller
action
string
the action
launcherId?
string
user id of the launcher
Returns
string | boolean
true when allowed, the reason otherwise