Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/31/12 10:36:45 (12 years ago)
Author:
ascheibe
Message:

#1174 adapted OKB to changes in the Access Service (r7936)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/RunCreation/OKBAlgorithm.cs

    r7634 r7941  
    206206    private void CheckUserPermissions() {
    207207      if (UserInformation.Instance.UserExists) {
    208         if (UserInformation.Instance.Roles.Count(x => x.Name == OKBRoles.OKBUser || x.Name == OKBRoles.OKBAdministrator) > 0) {
     208        if (UserInformation.Instance.User.Roles.Count(x => x.Name == OKBRoles.OKBUser || x.Name == OKBRoles.OKBAdministrator) > 0) {
    209209          UserId = UserInformation.Instance.User.Id;
    210210        } else {
Note: See TracChangeset for help on using the changeset viewer.