mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-24 22:06:59 +01:00
CA-359709: Add error message for RBAC failure in BugToolWizard
Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
This commit is contained in:
parent
ae1efbd54d
commit
f5149a415f
@ -146,7 +146,7 @@ namespace XenAdmin.Wizards
|
||||
|
||||
if (selectedHostsConnections.Any(Helpers.ConnectionRequiresRbac))
|
||||
{
|
||||
rbacWarningPage.AddApiMethodsCheck(selectedHostsConnections, SingleHostStatusAction.StaticRBACDependencies, Messages.RBAC_CROSS_POOL_MIGRATE_VM_BLOCKED);
|
||||
rbacWarningPage.AddApiMethodsCheck(selectedHostsConnections, SingleHostStatusAction.StaticRBACDependencies, Messages.RBAC_GET_SYSTEM_STATUS_BLOCKED);
|
||||
AddAfterPage(bugToolPageSelectHosts1, rbacWarningPage);
|
||||
}
|
||||
}
|
||||
|
9
XenModel/Messages.Designer.cs
generated
9
XenModel/Messages.Designer.cs
generated
@ -31860,6 +31860,15 @@ namespace XenAdmin {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Current access levels do not allow download of system status report. Log in as a different user with sufficient privileges on the source host and try again..
|
||||
/// </summary>
|
||||
public static string RBAC_GET_SYSTEM_STATUS_BLOCKED {
|
||||
get {
|
||||
return ResourceManager.GetString("RBAC_GET_SYSTEM_STATUS_BLOCKED", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Your current role is '{1}'.
|
||||
///
|
||||
|
@ -14731,4 +14731,7 @@ Any disk in your VM's DVD drive will be ejected when installing {1}.</value>
|
||||
<data name="RBAC_INTRA_POOL_COPY_VM_BLOCKED" xml:space="preserve">
|
||||
<value>Current access levels do not allow copying of VMs. Log in as a different user with sufficient privileges on the host and try again.</value>
|
||||
</data>
|
||||
<data name="RBAC_GET_SYSTEM_STATUS_BLOCKED" xml:space="preserve">
|
||||
<value>Current access levels do not allow download of system status report. Log in as a different user with sufficient privileges on the source host and try again.</value>
|
||||
</data>
|
||||
</root>
|
Loading…
Reference in New Issue
Block a user