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 | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | namespace 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.