Changeset 2067
- Timestamp:
- 06/19/09 13:15:10 (15 years ago)
- Location:
- trunk/sources
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.Core/3.2/Authorization/HivePermissionManager.cs
r2065 r2067 79 79 80 80 private bool CheckPermissionHelper(Guid sessionId, Guid actionId, Guid entityId) { 81 if (entityId == Guid.Empty) return true; 81 82 IList<ClientGroup> groups = clientManager.GetAllGroupsOfResource(entityId).Obj; 82 83 foreach (ClientGroup group in groups) -
trunk/sources/HeuristicLab.Hive.Server.Core/3.2/ServerConsoleFacade.cs
r2065 r2067 66 66 67 67 public ResponseList<ClientGroup> GetAllClientGroups() { 68 secMan.Authorize("AccessClientGroup", sessionID, Guid.Empty);68 //secMan.Authorize("AccessClientGroup", sessionID, Guid.Empty); 69 69 return clientManager.GetAllClientGroups(); 70 70 } -
trunk/sources/HeuristicLab.Hive.Server/3.2/MainForm.Designer.cs
r2065 r2067 95 95 // btnClose 96 96 // 97 this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; 97 98 this.btnClose.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 98 99 this.btnClose.Location = new System.Drawing.Point(279, 1); … … 117 118 this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; 118 119 this.Name = "MainForm"; 120 this.ShowInTaskbar = false; 119 121 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; 120 122 this.Text = "Hive Server"; -
trunk/sources/HeuristicLab.Security.Core/3.2/SecurityCoreTest.cs
r2065 r2067 269 269 Debug.WriteLine("Grant ALL permissions to admin..."); 270 270 foreach (Permission item in HivePermissions.GetPermissions()) { 271 manager.GrantPermission(user.Id, item.Id, Guid.Empty); 271 try { 272 manager.GrantPermission(user.Id, item.Id, Guid.Empty); 273 } 274 catch (Exception ex) { 275 Debug.WriteLine(ex.Message); 276 } 272 277 } 273 278 Debug.WriteLine("Adding user..."); … … 292 297 //admins allowed to do everything ;) 293 298 foreach (Permission item in HivePermissions.GetPermissions()) { 294 manager.GrantPermission(grp.Id, item.Id, Guid.Empty); 299 try { 300 manager.GrantPermission(grp.Id, item.Id, Guid.Empty); 301 } 302 catch (Exception ex) { 303 Debug.WriteLine(ex.Message); 304 } 295 305 } 296 306 }
Note: See TracChangeset
for help on using the changeset viewer.