- Timestamp:
- 08/02/18 16:58:48 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2839_HiveProjectManagement/HeuristicLab.Services.Hive/3.3/Manager/AuthorizationManager.cs
r15992 r16040 137 137 if (RoleVerifier.IsInRole(HiveRoles.Administrator)) return; 138 138 139 // check if user is owner of a parent project140 var projectBranch = projectDao.Get ParentProjectsById(projectId).ToList();139 // check if user is owner of the project or a parent project 140 var projectBranch = projectDao.GetCurrentAndParentProjectsById(projectId).ToList(); 141 141 if (!projectBranch.Select(x => x.OwnerUserId).Contains(currentUserId) 142 142 && !RoleVerifier.IsInRole(HiveRoles.Administrator)) {
Note: See TracChangeset
for help on using the changeset viewer.