Changeset 9063
- Timestamp:
- 12/17/12 10:48:26 (12 years ago)
- Location:
- trunk/sources
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Access.Administration/3.3/MenuItems/UserAdministrationMenuItem.cs
r8043 r9063 35 35 } 36 36 public override void Execute() { 37 if (!UserInformation.Instance.UserExists) { 38 MessageBox.Show("Couldn't fetch user information from the server." + Environment.NewLine + "Please verify that you have an existing user and that your user name and password is correct. ", "HeuristicLab Access Service", MessageBoxButtons.OK, MessageBoxIcon.Error); 39 return; 40 } 37 41 if (UserInformation.Instance.User.Roles.Where(x => x.Name == UserInformation.AdministratorRoleName).Count() > 0) { 38 42 using (UserAdministrationDialog dialog = new UserAdministrationDialog()) { -
trunk/sources/HeuristicLab.Clients.Access.Views/3.3/UserViews/RefreshableLightweightUserView.cs
r8141 r9063 75 75 base.Content_Refreshed(sender, e); 76 76 77 lightweightUserView.Content = new ItemList<UserGroupBase>(Content.UsersAndGroups.Where(x => selectedUsers.Contains(x.Id))); 78 if (lightweightUserView.Content != null) OnStorableStateChanged(); 77 if (Content.UsersAndGroups != null) { 78 lightweightUserView.Content = new ItemList<UserGroupBase>(Content.UsersAndGroups.Where(x => selectedUsers.Contains(x.Id))); 79 if (lightweightUserView.Content != null) OnStorableStateChanged(); 80 } 79 81 } 80 82 -
trunk/sources/HeuristicLab.Clients.Hive.Administrator/3.3/Views/ResourcesView.cs
r8089 r9063 437 437 438 438 try { 439 if (!Access.UserInformation.Instance.UserExists) { 440 //do a refresh just in case that the user has changed his usr and pwd in between 441 Access.UserInformation.Instance.Refresh(); 442 } 439 443 HiveAdminClient.Instance.Refresh(); 440 444 Content = HiveAdminClient.Instance.Resources;
Note: See TracChangeset
for help on using the changeset viewer.