Ignore:
Timestamp:
10/03/18 15:06:21 (12 months ago)
Author:
jzenisek
Message:

#2839:

  • adapted job execution implementation at ProjectJobsView
  • prohibited resource checking for non-admins
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.Clients.Hive/3.3/HiveClient.cs

    r16202 r16209  
    756756      return string.Join(" » ", projects.Select(x => ProjectNames[x]).ToArray());
    757757    }
     758
     759    public IEnumerable<Resource> GetAssignedResourcesForJob(Guid jobId) {
     760      var assignedJobResource = HiveServiceLocator.Instance.CallHiveService(service => service.GetAssignedResourcesForJob(jobId));
     761      return Resources.Where(x => assignedJobResource.Select(y => y.ResourceId).Contains(x.Id));
     762    }
    758763  }
    759764}
Note: See TracChangeset for help on using the changeset viewer.