Ignore:
Timestamp:
06/27/11 15:20:23 (8 years ago)
Author:
cneumuel
Message:

#1233

  • finished experiment sharing
  • added role for executing privileged jobs
  • refreshing experiments in experimentManager does not delete already downloaded jobs
  • moved some properties from HiveExperiment into RefreshableHiveExperiment
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4/HiveService.cs

    r6465 r6479  
    328328      });
    329329    }
     330
     331    public bool IsAllowedPrivileged() {
     332      authen.AuthenticateForAnyRole(HiveRoles.Administrator, HiveRoles.Client);
     333      return authen.IsInRole(HiveRoles.IsAllowedPrivileged);
     334    }
    330335    #endregion
    331336
     
    516521
    517522    public Guid GetResourceId(string resourceName) {
    518       authen.AuthenticateForAnyRole(HiveRoles.Administrator);
     523      authen.AuthenticateForAnyRole(HiveRoles.Administrator, HiveRoles.Client);
    519524      return trans.UseTransaction(() => {
    520525        var resource = dao.GetResources(x => x.Name == resourceName).FirstOrDefault();
Note: See TracChangeset for help on using the changeset viewer.