Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/10/08 09:43:58 (16 years ago)
Author:
msteinbi
Message:

Implementation of UserRoleManager (#417)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Server.Core/UserRoleManager.cs

    r907 r929  
    1717
    1818    IUserAdapter userAdapter;
    19     ResourceManager rm;
    2019
    2120    public UserRoleManager() {
    2221      userAdapter = ServiceLocator.GetUserAdapter();
    23       rm = new ResourceManager("HiveServerMessages.resx", Assembly.GetExecutingAssembly());
    2422
    2523      users = new List<User>();
     
    3028      users.Add(new User { PermissionOwnerId = 3, Name = "Greg", Password = "greg" });
    3129
    32       userGroups.Add(new UserGroup { UserGroupId = 1 });
    33       userGroups.Add(new UserGroup { UserGroupId = 2 });
     30      userGroups.Add(new UserGroup { PermissionOwnerId = 4 });
     31      userGroups.Add(new UserGroup { PermissionOwnerId = 5 });
    3432    }
    3533
     
    7977      response.Success = true;
    8078      response.StatusMessage = ApplicationConstants.RESPONSE_USERROLE_USER_REMOVED;
    81 
     79                         
    8280      return response;
    8381    }
Note: See TracChangeset for help on using the changeset viewer.