public void CheckCancelProcessInstance(Guid authenticatedActorId, Guid processInstanceId) { IAuthorizationHandler authorizationHandler = GetHandlerFromProcessInstanceId(processInstanceId); if (authorizationHandler != null) { authorizationHandler.CheckCancelProcessInstance(authenticatedActorId, processInstanceId); } }
public void CheckCancelProcessInstance(String authenticatedActorId, Int64 processInstanceId, DbSession dbSession) { IAuthorizationHandler authorizationHandler = GetHandlerFromProcessInstanceId(processInstanceId, dbSession); if (authorizationHandler != null) { authorizationHandler.CheckCancelProcessInstance(authenticatedActorId, processInstanceId); } }