Last change
on this file since 4423 was
4423,
checked in by cneumuel, 14 years ago
|
- Refactored HL.Hive.Experiment. JobItems are not called HiveJobs and OptimizerJobs do not contain a hierarchy anymore.
- Dynamic generation of jobs on a slave are not reflected on the client user interface.
- Optimizer-Trees are now strictly synchronized with the HiveJob-Trees (also the ComputeInParallel property is taken into account when the Child HiveJobs are created)
- Improved the way a class can report progress and lock the UI (IProgressReporter, IProgress, Progress, ProgressView)
- Changes were made to the config-files, so that server and clients work with blade12.hpc.fh-hagenberg.at
- Lots of small changes and bugfixes
|
File size:
775 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | namespace HeuristicLab.Hive.Server.Core.InternalInterfaces {
|
---|
4 | public interface IAuthorizationManager {
|
---|
5 | /// <summary>
|
---|
6 | /// Returns the UserId of the currently authenticated user
|
---|
7 | /// </summary>
|
---|
8 | Guid UserId { get; }
|
---|
9 |
|
---|
10 | /// <summary>
|
---|
11 | /// Checks if the user is allowed to access all the jobs.
|
---|
12 | /// throws an exception if one of those jobs is inaccessible
|
---|
13 | /// </summary>
|
---|
14 | /// <exception cref="SecurityException">thrown when access denied</exception>
|
---|
15 | void AuthorizeJobs(params Guid[] jobId);
|
---|
16 |
|
---|
17 | /// <summary>
|
---|
18 | /// Compares the current UserId with the given userId and takes appropriate actions if the mismatch
|
---|
19 | /// </summary>
|
---|
20 | void Authorize(Guid userId);
|
---|
21 | }
|
---|
22 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.