public virtual void CheckReadHistoricExternalTaskLog(HistoricExternalTaskLogEntity historicExternalTaskLog)
 {
     if (historicExternalTaskLog != null && !TenantManager.IsAuthenticatedTenant(historicExternalTaskLog.TenantId))
     {
         throw Log.ExceptionCommandWithUnauthorizedTenant("get the historic external ITask log '" + historicExternalTaskLog.Id + "'");
     }
 }
Beispiel #2
0
 public virtual void CheckReadHistoricExternalTaskLog(HistoricExternalTaskLogEntity historicExternalTaskLog)
 {
     if (!ReferenceEquals(historicExternalTaskLog.ProcessDefinitionKey, null))
     {
         AuthorizationManager.CheckAuthorization(Permissions.ReadHistory, Resources.ProcessDefinition,
                                                 historicExternalTaskLog.ProcessDefinitionKey);
     }
 }