Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/20/12 20:11:13 (12 years ago)
Author:
jkarder
Message:

#1860:

  • removed AuthorizesForResourceAdministration method
  • transfered permission checking to the client
Location:
trunk/sources/HeuristicLab.Services.Hive/3.3
Files:
2 edited

Legend:

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

    r8065 r8071  
    6060    }
    6161
    62     #region Authorization Methods
    63     public bool AuthorizesForResourceAdministration(Guid resourceId) {
    64       try {
    65         author.AuthorizeForResourceAdministration(resourceId);
    66         return true;
    67       }
    68       catch (System.Security.SecurityException) { return false; }
    69     }
    70     #endregion
    71 
    7262    #region Task Methods
    7363    public Guid AddTask(Task task, TaskData taskData, IEnumerable<Guid> resourceIds) {
  • trunk/sources/HeuristicLab.Services.Hive/3.3/ServiceContracts/IHiveService.cs

    r8065 r8071  
    3030  [ServiceContract(ProtectionLevel = ProtectionLevel.EncryptAndSign)]
    3131  public interface IHiveService {
    32     #region Authorization Methods
    33     [OperationContract]
    34     bool AuthorizesForResourceAdministration(Guid resourceId);
    35     #endregion
    36 
    3732    #region Task Methods
    3833    [OperationContract]
Note: See TracChangeset for help on using the changeset viewer.