Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/20/09 20:27:15 (16 years ago)
Author:
svonolfe
Message:

Updated interfaces (#532)

Location:
trunk/sources/HeuristicLab.Security.Contracts/Interfaces
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Security.Contracts/Interfaces/IPermissionManager.cs

    r1378 r1384  
    66  interface IPermissionManager {
    77    Guid Authenticate(String userName, String password);
    8     bool CheckPermission(Guid sessionId, Guid permissionToken,
     8    bool CheckPermission(Guid sessionId, Guid permissionId,
    99      Guid enitityId);
    1010    void EndSession(Guid sessionId);
  • trunk/sources/HeuristicLab.Security.Contracts/Interfaces/ISecurityManager.cs

    r1378 r1384  
    77  interface ISecurityManager {
    88    User AddNewUser(User user);
    9     bool RemoveUser(long userId);
     9    bool RemoveUser(Guid userId);
    1010    User UpdateUser(User user);
    1111
    1212    UserGroup AddNewUserGroup(UserGroup group);
    13     bool RemoveUserGroup(long groupId);
     13    bool RemoveUserGroup(Guid groupId);
    1414    UserGroup UpdateUserGroup(UserGroup group);
    15  
    16     bool AddPermissionOwnerToGroup(long groupId, long permissionOwnerId);
    17     bool RemovePermissionOwnerFromGroup(long groupId, long permissionOwnerId);
    1815
    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);
    2121  }
    2222}
Note: See TracChangeset for help on using the changeset viewer.