Class ActionPermissionsOnWorkflow

    • Constructor Detail

      • ActionPermissionsOnWorkflow

        public ActionPermissionsOnWorkflow()
    • Method Detail

      • getActionPermission

        public ActionPermission getActionPermission​(ProcessExecutionContext.WorkflowPermission aWorkflowAction,
                                                    ActionPermissionsOnWorkflowContext aContext)
        Returns a resolved permission for the specified action.

        The default implementation of this method checks if the user belongs to the profile specified in the workflow model, at the location "WorkflowModel configuration".

        If this method is overridden, it replaces the default behavior but it is possible to call the super method to get the default resolution of the permission for the specified action.