Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/01/15 14:10:37 (9 years ago)
Author:
jkarder
Message:

#2355:

  • changed sandboxing to always use an unrestricted permission set
  • removed IsAllowedPrivileged role and according IsPrivileged code
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.Hive.Slave/3.3/SlaveTask.cs

    r12920 r12926  
    105105
    106106    private AppDomain CreateAppDomain(Task task, String pluginDir, string configFileName) {
    107       if (task.IsPrivileged) {
    108         appDomain = SandboxManager.CreateAndInitPrivilegedSandbox(task.Id.ToString(), pluginDir, Path.Combine(pluginDir, configFileName));
    109       } else {
    110         appDomain = SandboxManager.CreateAndInitSandbox(task.Id.ToString(), pluginDir, Path.Combine(pluginDir, configFileName));
    111       }
     107      appDomain = SandboxManager.CreateAndInitSandbox(task.Id.ToString(), pluginDir, Path.Combine(pluginDir, configFileName));
    112108      appDomain.UnhandledException += new UnhandledExceptionEventHandler(AppDomain_UnhandledException);
    113109
Note: See TracChangeset for help on using the changeset viewer.