Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/19/12 12:06:18 (13 years ago)
Author:
jkarder
Message:

#1859: manually merged branch "HiveResourcePermissionManagement (trunk integration)" into trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Services.Hive/3.3/ServiceContracts/IHiveService.cs

    r7916 r8051  
    3030  [ServiceContract(ProtectionLevel = ProtectionLevel.EncryptAndSign)]
    3131  public interface IHiveService {
     32    #region Authorization Methods
     33    [OperationContract]
     34    bool AuthorizesForResourceAdministration(Guid resourceId);
     35    #endregion
    3236
    3337    #region Task Methods
     
    160164    #region ResourcePermission Methods
    161165    [OperationContract]
    162     void GrantResourcePermission(Guid resourceId, Guid grantedUserId);
    163 
    164     [OperationContract]
    165     void RevokeResourcePermission(Guid resourceId, Guid grantedUserId);
     166    void GrantResourcePermissions(Guid resourceId, params Guid[] grantedUserIds);
     167
     168    [OperationContract]
     169    void RevokeResourcePermissions(Guid resourceId, params Guid[] grantedUserIds);
    166170
    167171    [OperationContract]
Note: See TracChangeset for help on using the changeset viewer.