Changeset 1624 for trunk/sources/HeuristicLab.Security.Contracts
- Timestamp:
- 04/22/09 18:20:46 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Security.Contracts/3.2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Security.Contracts/3.2/BusinessObjects/Permission.cs
r1384 r1624 32 32 public String Description { get; set; } 33 33 34 [DataMember]35 public Guid EntityId { get; set; }36 34 } 37 35 } -
trunk/sources/HeuristicLab.Security.Contracts/3.2/BusinessObjects/PermissionOwner.cs
r1384 r1624 32 32 public string Name { get; set; } 33 33 34 [DataMember] 35 public Guid EntityId { get; set; } 36 } 34 } 37 35 } -
trunk/sources/HeuristicLab.Security.Contracts/3.2/Interfaces/ISecurityManager.cs
r1520 r1624 20 20 21 21 [OperationContract] 22 ICollection<User> GetAllUsers(); 23 24 [OperationContract] 25 User GetUserByName(string name); 26 27 [OperationContract] 22 28 UserGroup AddNewUserGroup(UserGroup group); 23 29 24 30 [OperationContract] 25 bool RemoveUserGroup( UserGroup group);31 bool RemoveUserGroup(Guid userGroupId); 26 32 27 33 [OperationContract] … … 29 35 30 36 [OperationContract] 31 bool AddPermissionOwnerToGroup(UserGroup userGroup, PermissionOwner permissionOwner);37 ICollection<UserGroup> GetAllUserGroups(); 32 38 33 39 [OperationContract] 34 bool RemovePermissionOwnerFromGroup(UserGroup userGroup, PermissionOwner permissionOwner);40 UserGroup GetUserGroupByName(string name); 35 41 36 42 [OperationContract] 37 bool GrantPermission(PermissionOwner permissionOwner, Permission permission);43 PermissionOwner UpdatePermissionOwner(PermissionOwner permissionOwner); 38 44 39 45 [OperationContract] 40 bool RevokePermission(PermissionOwner permissionOwner, Permission permission); 46 bool AddPermissionOwnerToGroup(Guid userGroupId, Guid permissionOwnerId); 47 48 [OperationContract] 49 bool RemovePermissionOwnerFromGroup(Guid userGroupId, Guid permissionOwnerId); 50 51 [OperationContract] 52 bool GrantPermission(Guid permissionOwnerId, Guid permissionId, Guid entityId); 53 54 [OperationContract] 55 Permission GetPermissionById(Guid permissionId); 56 57 [OperationContract] 58 bool RevokePermission(Guid permissionOwnerId, Guid permissionId, Guid entityId); 41 59 } 42 60 }
Note: See TracChangeset
for help on using the changeset viewer.