Skip to content

Commit

Permalink
Rename private instance class fields name, add parameters changing ch…
Browse files Browse the repository at this point in the history
…eck, etc.
  • Loading branch information
BengangY committed Oct 11, 2023
1 parent b2f8efa commit 52da131
Show file tree
Hide file tree
Showing 13 changed files with 1,069 additions and 585 deletions.
3 changes: 2 additions & 1 deletion XenAdmin/Dialogs/PropertiesDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,8 @@ private void Build()
dialog.ShowDialog(Program.MainWindow);
}
}
if (isHost || isPool)
if ((isHost || isPool) &&
(connection.Session.IsLocalSuperuser || connection.Session.Roles.Any(r => r.name_label == Role.MR_ROLE_POOL_ADMIN)))
{
NRPEEditPage = new NRPEEditPage();
ShowTab(NRPEEditPage);
Expand Down
273 changes: 0 additions & 273 deletions XenAdmin/SettingsPanels/NRPEEditPage.CheckGroup.cs

This file was deleted.

Loading

0 comments on commit 52da131

Please sign in to comment.