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); } }
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); } }