public static final class ProcessExecutionContext.WorkflowPermission extends Object
These permissions are configured in the configuration of the workflow model.
Modifier and Type | Field and Description |
---|---|
static ProcessExecutionContext.WorkflowPermission |
ADMINISTRATE
The permission to administrate the workflow.
|
static ProcessExecutionContext.WorkflowPermission |
ALLOCATE
The permission to allocate work items.
|
static ProcessExecutionContext.WorkflowPermission |
CREATE_PROCESS
The permission to create workflows from the workflow publication.
|
static ProcessExecutionContext.WorkflowPermission |
DEALLOCATE
The permission to deallocate work items.
|
static ProcessExecutionContext.WorkflowPermission |
DISABLE
The permission to disable a publication.
|
static ProcessExecutionContext.WorkflowPermission |
FORCE_RESUME_PROCESS
The permission to resume a waiting workflow.
|
static ProcessExecutionContext.WorkflowPermission |
MANAGE_ALLOCATION
The permission to manage the allocation of work items.
|
static ProcessExecutionContext.WorkflowPermission |
REALLOCATE
The permission to reallocate work items.
|
static ProcessExecutionContext.WorkflowPermission |
RESTART_TOKEN
The permission to replay a step.
|
static ProcessExecutionContext.WorkflowPermission |
TERMINATE_PROCESS
The permission to terminate workflows.
|
static ProcessExecutionContext.WorkflowPermission |
UNPUBLISH
The permission to unpublish.
|
static ProcessExecutionContext.WorkflowPermission |
VIEW
The permission to visualize workflows.
|
static ProcessExecutionContext.WorkflowPermission |
VIEW_COMPLETED_WORKFLOW
The permission to view completed workflows.
|
public static final ProcessExecutionContext.WorkflowPermission ADMINISTRATE
This permission allows to:
VIEW
),RESTART_TOKEN
), unpublish ((UNPUBLISH
),
terminate a workflow (TERMINATE_PROCESS
).
This permission can be resolved for a publication or a process instance context:
use ActionPermissionsOnWorkflowContext.isOnProcessInstance()
to check the resolution context.
ActionPermissionsOnWorkflow
public static final ProcessExecutionContext.WorkflowPermission MANAGE_ALLOCATION
This permission allows to:
VIEW
),ALLOCATE
),DEALLOCATE
),REALLOCATE
).
This permission can be resolved for a publication or a process instance context:
use ActionPermissionsOnWorkflowContext.isOnProcessInstance()
to check the resolution context.
ActionPermissionsOnWorkflow
public static final ProcessExecutionContext.WorkflowPermission CREATE_PROCESS
This permission allows creating workflows from a publication associated with the workflow model.
This permission can be resolved only for a publication context.
ActionPermissionsOnWorkflow
public static final ProcessExecutionContext.WorkflowPermission VIEW
Publications, workflows and work items are visible if at least one of the following actions is allowed:
VIEW
ADMINISTRATE
MANAGE_ALLOCATION
RESTART_TOKEN
TERMINATE_PROCESS
DISABLE
UNPUBLISH
ALLOCATE
DEALLOCATE
REALLOCATE
So, if the VIEW
permission is disabled,
the permissions associated with these actions will be automatically evaluated until one of them is enabled,
even if specific permissions are defined.
ActionPermissionsOnWorkflowContext.isOnProcessInstance()
to check the resolution context.
ActionPermissionsOnWorkflow
public static final ProcessExecutionContext.WorkflowPermission VIEW_COMPLETED_WORKFLOW
This permission allows viewing completed workflows for the workflow model.
This action is allowed when at least one of the following actions is allowed:
So, if the VIEW_COMPLETED_WORKFLOW
permission is disabled,
the permission VIEW
will be automatically evaluated,
even if specific permissions are defined.
This permission can only be resolved for a process instance context.
ActionPermissionsOnWorkflow
public static final ProcessExecutionContext.WorkflowPermission ALLOCATE
This permission allows to:
VIEW
),This action is allowed when at least one of the following actions is allowed:
So, if the ALLOCATE
permission is disabled,
the permission MANAGE_ALLOCATION
will be automatically evaluated,
even if specific permissions are defined.
This permission can be resolved for a publication or a process instance context:
use ActionPermissionsOnWorkflowContext.isOnProcessInstance()
to check the resolution context.
ActionPermissionsOnWorkflow
public static final ProcessExecutionContext.WorkflowPermission DEALLOCATE
This permission allows to:
VIEW
),This action is allowed when at least one of the following actions is allowed:
So, if the DEALLOCATE
permission is disabled,
the permission MANAGE_ALLOCATION
will be automatically evaluated,
even if specific permissions are defined.
This permission can be resolved for a publication or a process instance context:
use ActionPermissionsOnWorkflowContext.isOnProcessInstance()
to check the resolution context.
ActionPermissionsOnWorkflow
public static final ProcessExecutionContext.WorkflowPermission REALLOCATE
This permission allows to:
VIEW
),This action is allowed when at least one of the following actions is allowed:
So, if the REALLOCATE
permission is disabled,
the permission MANAGE_ALLOCATION
will be automatically evaluated,
even if specific permissions are defined.
This permission can be resolved for a publication or a process instance context:
use ActionPermissionsOnWorkflowContext.isOnProcessInstance()
to check the resolution context.
ActionPermissionsOnWorkflow
public static final ProcessExecutionContext.WorkflowPermission RESTART_TOKEN
This permission allows to:
VIEW
),
So, if the RESTART_TOKEN
permission is disabled,
the permission ADMINISTRATE
will be automatically evaluated,
even if specific permissions are defined.
This permission can be resolved for a publication or a process instance context:
use ActionPermissionsOnWorkflowContext.isOnProcessInstance()
to check the resolution context.
ActionPermissionsOnWorkflow
public static final ProcessExecutionContext.WorkflowPermission FORCE_RESUME_PROCESS
This permission allows:
VIEW
),
So, if the FORCE_RESUME_PROCESS
permission is disabled,
the ADMINISTRATE
permission will be automatically evaluated,
even if specific permissions are defined.
This permission can be resolved for a publication or a process instance context:
use ActionPermissionsOnWorkflowContext.isOnProcessInstance()
to check the resolution context.
ActionPermissionsOnWorkflow
public static final ProcessExecutionContext.WorkflowPermission UNPUBLISH
This permission allows to:
VIEW
),This action is allowed when at least one of the following actions is allowed:
So, if the UNPUBLISH
permission is disabled,
the permission ADMINISTRATE
will be automatically evaluated,
even if specific permissions are defined.
This permission can be resolved for a publication or a process instance context:
use ActionPermissionsOnWorkflowContext.isOnProcessInstance()
to check the resolution context.
ActionPermissionsOnWorkflow
public static final ProcessExecutionContext.WorkflowPermission DISABLE
This permission allows to:
VIEW
),This action is allowed when at least one of the following actions is allowed:
So, if the DISABLE
permission is disabled,
the permission ADMINISTRATE
will be automatically evaluated,
even if specific permissions are defined.
This permission can be resolved for a publication or a process instance context:
use ActionPermissionsOnWorkflowContext.isOnProcessInstance()
to check the resolution context.
ActionPermissionsOnWorkflow
public static final ProcessExecutionContext.WorkflowPermission TERMINATE_PROCESS
This permission allows to:
VIEW
),This action is allowed when at least one of the following actions is allowed:
So, if the TERMINATE_PROCESS
permission is disabled,
the permission ADMINISTRATE
will be automatically evaluated,
even if specific permissions are defined.
This permission can be resolved for a publication or a process instance context:
use ActionPermissionsOnWorkflowContext.isOnProcessInstance()
to check the resolution context.
ActionPermissionsOnWorkflow
public String getLabel()