Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/05/18 15:13:25 (6 years ago)
Author:
jzenisek
Message:

#2839 worked on service side mgmt of project-resource assignments and project-user permissions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HiveProjectManagement/HeuristicLab.Services.Access/3.3/UserManager.cs

    r15500 r15577  
    9090    }
    9191
     92    public IEnumerable<DataTransfer.UserGroupMapping> GetUserGroupMapping() {
     93      using (DA.AccessServiceDataContext context = new DA.AccessServiceDataContext()) {
     94        var query = from u in context.UserGroupUserGroups
     95                    select Convert.ToDto(u);
     96        return query.ToList();
     97      }
     98    }
     99
    92100    private bool CheckInGroupHierarchy(Guid userId, Guid group, Dictionary<Guid, Guid> ugMapping, List<DA.UserGroup> groups) {
    93101      //check all subgroups
Note: See TracChangeset for help on using the changeset viewer.