CA-380744: Corrected RBAC permission check for CheckForCdnUpdatesAction.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
This commit is contained in:
Konstantina Chremmou 2023-08-02 12:04:36 +01:00
parent 2a1685e40f
commit a55d2340a5

View File

@ -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; }