Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/25/12 15:36:03 (12 years ago)
Author:
jkarder
Message:

#1711:

  • added resource selection dialog
  • added extension method that returns all descendants of a TreeNode
  • relaxed service access permissions
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Services.Hive/3.3/HiveService.cs

    r7259 r7910  
    334334      });
    335335    }
     336
    336337    public IEnumerable<JobPermission> GetJobPermissions(Guid jobId) {
    337338      authen.AuthenticateForAnyRole(HiveRoles.Administrator, HiveRoles.Client);
     
    495496
    496497    public IEnumerable<Slave> GetSlaves() {
    497       authen.AuthenticateForAnyRole(HiveRoles.Administrator);
     498      authen.AuthenticateForAnyRole(HiveRoles.Administrator, HiveRoles.Client);
    498499      return dao.GetSlaves(x => true);
    499500    }
    500501
    501502    public IEnumerable<SlaveGroup> GetSlaveGroups() {
    502       authen.AuthenticateForAnyRole(HiveRoles.Administrator);
     503      authen.AuthenticateForAnyRole(HiveRoles.Administrator, HiveRoles.Client);
    503504      return dao.GetSlaveGroups(x => true);
    504505    }
Note: See TracChangeset for help on using the changeset viewer.