mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-23 12:30:50 +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)
|
||||
{
|
||||
Title = Description = Messages.YUM_REPO_ACTION_CHECK_FOR_UPDATES;
|
||||
ApiMethodsToRoleCheck.Add("http/updates");
|
||||
ApiMethodsToRoleCheck.Add("http/get_updates");
|
||||
}
|
||||
|
||||
public CdnPoolUpdateInfo Updates { get; set; }
|
||||
|
Loading…
Reference in New Issue
Block a user