mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-23 20:36:33 +01:00
CA-380744: Corrected RBAC permission check for CheckForCdnUpdatesAction.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
This commit is contained in:
parent
2a1685e40f
commit
a55d2340a5
@ -44,7 +44,7 @@ namespace XenAdmin.Actions
|
|||||||
: base(connection, string.Empty)
|
: base(connection, string.Empty)
|
||||||
{
|
{
|
||||||
Title = Description = Messages.YUM_REPO_ACTION_CHECK_FOR_UPDATES;
|
Title = Description = Messages.YUM_REPO_ACTION_CHECK_FOR_UPDATES;
|
||||||
ApiMethodsToRoleCheck.Add("http/updates");
|
ApiMethodsToRoleCheck.Add("http/get_updates");
|
||||||
}
|
}
|
||||||
|
|
||||||
public CdnPoolUpdateInfo Updates { get; set; }
|
public CdnPoolUpdateInfo Updates { get; set; }
|
||||||
|
Loading…
Reference in New Issue
Block a user