Changeset 1384 for trunk/sources/HeuristicLab.Security.Contracts/Interfaces
- Timestamp:
- 03/20/09 20:27:15 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Security.Contracts/Interfaces
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Security.Contracts/Interfaces/IPermissionManager.cs
r1378 r1384 6 6 interface IPermissionManager { 7 7 Guid Authenticate(String userName, String password); 8 bool CheckPermission(Guid sessionId, Guid permission Token,8 bool CheckPermission(Guid sessionId, Guid permissionId, 9 9 Guid enitityId); 10 10 void EndSession(Guid sessionId); -
trunk/sources/HeuristicLab.Security.Contracts/Interfaces/ISecurityManager.cs
r1378 r1384 7 7 interface ISecurityManager { 8 8 User AddNewUser(User user); 9 bool RemoveUser( longuserId);9 bool RemoveUser(Guid userId); 10 10 User UpdateUser(User user); 11 11 12 12 UserGroup AddNewUserGroup(UserGroup group); 13 bool RemoveUserGroup( longgroupId);13 bool RemoveUserGroup(Guid groupId); 14 14 UserGroup UpdateUserGroup(UserGroup group); 15 16 bool AddPermissionOwnerToGroup(long groupId, long permissionOwnerId);17 bool RemovePermissionOwnerFromGroup(long groupId, long permissionOwnerId);18 15 19 bool GrantPermission(long permissionOwnerId, Guid permissionToken); 20 bool RevokePermission(long permissionOwnerId, Guid permissionToken); 16 bool AddPermissionOwnerToGroup(Guid groupId, Guid permissionOwnerId); 17 bool RemovePermissionOwnerFromGroup(Guid groupId, Guid permissionOwnerId); 18 19 bool GrantPermission(Guid permissionOwnerId, Guid permissionId); 20 bool RevokePermission(Guid permissionOwnerId, Guid permissionId); 21 21 } 22 22 }
Note: See TracChangeset
for help on using the changeset viewer.