- Timestamp:
- 06/07/18 17:20:08 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2839_HiveProjectManagement/HeuristicLab.Clients.Hive.Administrator/3.3/Views/ProjectPermissionsView.cs
r15953 r15954 123 123 private void treeView_BeforeCheck(object sender, TreeViewCancelEventArgs e) { 124 124 var checkedPermission = (UserGroupBase)e.Node.Tag; 125 if (e.Node.Parent == null || newInheritedPermissions.Contains(checkedPermission) || checkedPermission.Id == Guid.Empty) e.Cancel = true; 125 if (e.Node.Parent == null 126 || newInheritedPermissions.Contains(checkedPermission) 127 || checkedPermission.Id == Guid.Empty 128 || Content.OwnerUserId == checkedPermission.Id) 129 e.Cancel = true; 126 130 } 127 131
Note: See TracChangeset
for help on using the changeset viewer.