Free cookie consent management tool by TermsFeed Policy Generator

Changeset 8065


Ignore:
Timestamp:
06/20/12 13:07:14 (13 years ago)
Author:
ascheibe
Message:

#1860 small fix in the webservice interface

Location:
trunk/sources/HeuristicLab.Services.Hive/3.3
Files:
2 edited

Legend:

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

    r8051 r8065  
    477477
    478478    #region ResourcePermission Methods
    479     public void GrantResourcePermissions(Guid resourceId, params Guid[] grantedUserIds) {
     479    public void GrantResourcePermissions(Guid resourceId, Guid[] grantedUserIds) {
    480480      authen.AuthenticateForAnyRole(HiveRoles.Administrator, HiveRoles.Client);
    481481      trans.UseTransaction(() => {
     
    488488    }
    489489
    490     public void RevokeResourcePermissions(Guid resourceId, params Guid[] grantedUserIds) {
     490    public void RevokeResourcePermissions(Guid resourceId, Guid[] grantedUserIds) {
    491491      authen.AuthenticateForAnyRole(HiveRoles.Administrator, HiveRoles.Client);
    492492      trans.UseTransaction(() => {
  • trunk/sources/HeuristicLab.Services.Hive/3.3/ServiceContracts/IHiveService.cs

    r8051 r8065  
    164164    #region ResourcePermission Methods
    165165    [OperationContract]
    166     void GrantResourcePermissions(Guid resourceId, params Guid[] grantedUserIds);
    167 
    168     [OperationContract]
    169     void RevokeResourcePermissions(Guid resourceId, params Guid[] grantedUserIds);
     166    void GrantResourcePermissions(Guid resourceId, Guid[] grantedUserIds);
     167
     168    [OperationContract]
     169    void RevokeResourcePermissions(Guid resourceId, Guid[] grantedUserIds);
    170170
    171171    [OperationContract]
Note: See TracChangeset for help on using the changeset viewer.