Changeset 4267 for branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Core/3.3/Authorization/HivePermissionManager.cs
- Timestamp:
- 08/19/10 15:47:46 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Core/3.3/Authorization/HivePermissionManager.cs
r4263 r4267 93 93 private bool CheckPermissionHelper(Guid sessionId, Guid actionId, Guid entityId) { 94 94 if (entityId == Guid.Empty) return true; 95 IList< ClientGroupDto> groups = slaveManager.GetAllGroupsOfResource(entityId).Obj;96 foreach ( ClientGroupDto group in groups)95 IList<SlaveGroupDto> groups = slaveManager.GetAllGroupsOfResource(entityId).Obj; 96 foreach (SlaveGroupDto group in groups) 97 97 if (CheckPermission(sessionId, actionId, group.Id)) return true; 98 98 return false;
Note: See TracChangeset
for help on using the changeset viewer.