From 2be4e1067698a8aaf7896af235e609540ee982b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kone=C4=8Dn=C3=BD?= Date: Thu, 31 Mar 2022 13:01:45 +0200 Subject: [PATCH] [pagure] Enable ACLs for API key for closing issue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In https://pagure.io/fedora-infra/ansible/pull-request/1013 change to enable new ACLs for API tokens was introduced, unfortunately the `issue_close` ACL don't exists and to close the issue in Pagure it needs `issue_change_status` and `issue_update` ACLs. This commit is fixing the previous mistake. Signed-off-by: Michal Konečný --- roles/pagure/templates/pagure.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/pagure/templates/pagure.cfg b/roles/pagure/templates/pagure.cfg index 746591b745..4bcec74f3d 100644 --- a/roles/pagure/templates/pagure.cfg +++ b/roles/pagure/templates/pagure.cfg @@ -388,7 +388,8 @@ CROSS_PROJECT_ACLS = [ 'modify_project', 'issue_create', 'issue_comment', - 'issue_close', + 'issue_change_status', + 'issue_update', 'pull_request_create', 'pull_request_comment', 'pull_request_merge',