Ejemplo n.º 1
0
        public void CheckPerformActivity(Guid authenticatedActorId, Guid flowId, IDictionary <string, object> attributeValues, string transitionName)
        {
            IAuthorizationHandler authorizationHandler = GetHandlerFromFlowId(flowId);

            if (authorizationHandler != null)
            {
                authorizationHandler.CheckPerformActivity(authenticatedActorId, flowId, attributeValues, transitionName);
            }
        }
Ejemplo n.º 2
0
        public void CheckPerformActivity(String authenticatedActorId, Int64 flowId, IDictionary attributeValues, String transitionName, DbSession dbSession)
        {
            IAuthorizationHandler authorizationHandler = GetHandlerFromFlowId(flowId, dbSession);

            if (authorizationHandler != null)
            {
                authorizationHandler.CheckPerformActivity(authenticatedActorId, flowId, attributeValues, transitionName);
            }
        }