Example #1
0
        public void CheckRemoveProcessInstance(Guid authenticatedActorId, Guid processInstanceId)
        {
            IAuthorizationHandler authorizationHandler = GetHandlerFromProcessInstanceId(processInstanceId);

            if (authorizationHandler != null)
            {
                authorizationHandler.CheckRemoveProcessInstance(authenticatedActorId, processInstanceId);
            }
        }
Example #2
0
        public void CheckRemoveProcessInstance(String authenticatedActorId, Int64 processInstanceId, DbSession dbSession)
        {
            IAuthorizationHandler authorizationHandler = GetHandlerFromProcessInstanceId(processInstanceId, dbSession);

            if (authorizationHandler != null)
            {
                authorizationHandler.CheckRemoveProcessInstance(authenticatedActorId, processInstanceId);
            }
        }