Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/07/09 13:12:20 (16 years ago)
Author:
asimon
Message:

Security.Core (ticket #537)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Security.DataAccess/IPermissionAdapter.cs

    r1449 r1520  
    3030  /// The permission database adapter
    3131  /// </summary>
    32   interface IPermissionAdapter: IDataAdapter<Permission> {
     32  public interface IPermissionAdapter: IDataAdapter<Permission> {
    3333    /// <summary>
    3434    /// Determines, if the permission Owner has the permission on the entity
     
    3838    /// <param name="entityId"></param>
    3939    /// <returns></returns>
    40     GrantedPermission getPermssion(Guid permissionOwnerId, Guid permissionId,
    41       Guid entityId);
     40    GrantedPermission getPermission(PermissionOwner permissionOwner, Permission permission);
    4241
    4342    /// <summary>
     
    4847    /// <param name="entityId"></param>
    4948    /// <returns></returns>
    50     bool addPermission(Guid permissionOwnerId, Guid permissionId,
    51       Guid entityId);
     49    bool addPermission(PermissionOwner permissionOwner, Permission permission);
    5250
    5351    /// <summary>
     
    5856    /// <param name="entityId"></param>
    5957    /// <returns></returns>
    60     bool removePermission(Guid permissionOwnerId, Guid permissionId,
    61       Guid entityId);
     58    bool removePermission(PermissionOwner permissionOwner, Permission permission);
    6259  }
    6360}
Note: See TracChangeset for help on using the changeset viewer.