Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3.3-Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Core/3.3/InternalInterfaces/IAuthorizationManager.cs @ 4340

Last change on this file since 4340 was 4333, checked in by cneumuel, 14 years ago

added authorizationManager which checks for permission to specific jobs (#1168)

File size: 499 bytes
Line 
1using System;
2using System.Collections.Generic;
3namespace HeuristicLab.Hive.Server.Core.InternalInterfaces {
4  public interface IAuthorizationManager {
5
6    string UserId { get; }
7
8    /// <summary>
9    /// Checks if the user is allowed to access all the jobs.
10    /// throws an exception if one of those jobs is inaccessible
11    /// </summary>
12    /// <exception cref="SecurityException">thrown when access denied</exception>
13    void AuthorizeForJobs(params Guid[] jobId);
14  }
15}
Note: See TracBrowser for help on using the repository browser.