Changeset 15642 for branches/HiveProjectManagement/HeuristicLab.Clients.Hive.Administrator/3.3/Views
- Timestamp:
- 01/23/18 14:00:03 (7 years ago)
- Location:
- branches/HiveProjectManagement/HeuristicLab.Clients.Hive.Administrator/3.3/Views
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HiveProjectManagement/HeuristicLab.Clients.Hive.Administrator/3.3/Views/ProjectPermissionsView.cs
r15580 r15642 94 94 private async void inheritButton_Click(object sender, EventArgs e) { 95 95 await SecurityExceptionUtil.TryAsyncAndReportSecurityExceptions( 96 action: () => SetGrantedProjectPermissions(Content.Id, newAssignedPermissions.Select(x => x.Id), false, true, true));96 action: () => SetGrantedProjectPermissions(Content.Id, newAssignedPermissions.Select(x => x.Id), false, true, false)); 97 97 UpdatePermissionList(); 98 98 } -
branches/HiveProjectManagement/HeuristicLab.Clients.Hive.Administrator/3.3/Views/ProjectResourcesView.cs
r15627 r15642 100 100 await SecurityExceptionUtil.TryAsyncAndReportSecurityExceptions( 101 101 action: () => { 102 SetAssignedProjectResources(Content.Id, newAssignedResources.Select(x => x.Id), false, true );102 SetAssignedProjectResources(Content.Id, newAssignedResources.Select(x => x.Id), false, true, false); 103 103 }); 104 104 UpdateResourceTree(); … … 108 108 await SecurityExceptionUtil.TryAsyncAndReportSecurityExceptions( 109 109 action: () => { 110 SetAssignedProjectResources(Content.Id, newAssignedResources.Select(x => x.Id), false, false );110 SetAssignedProjectResources(Content.Id, newAssignedResources.Select(x => x.Id), false, false, false); 111 111 }); 112 112 UpdateResourceTree(); … … 156 156 } 157 157 158 private void SetAssignedProjectResources(Guid projectId, IEnumerable<Guid> resourceIds, bool reassign, bool cascading ) {158 private void SetAssignedProjectResources(Guid projectId, IEnumerable<Guid> resourceIds, bool reassign, bool cascading, bool reassignCascading) { 159 159 if (projectId == null || resourceIds == null) return; 160 160 HiveServiceLocator.Instance.CallHiveService(s => { 161 s.SaveProjectResourceAssignments(projectId, resourceIds.ToList(), reassign, cascading, true);161 s.SaveProjectResourceAssignments(projectId, resourceIds.ToList(), reassign, cascading, reassignCascading); 162 162 }); 163 163 }
Note: See TracChangeset
for help on using the changeset viewer.