From 2be4e1067698a8aaf7896af235e609540ee982b8 Mon Sep 17 00:00:00 2001 From: Michal Konečný Date: Mar 31 2022 11:01:45 +0000 Subject: [pagure] Enable ACLs for API key for closing issue 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ý --- diff --git a/roles/pagure/templates/pagure.cfg b/roles/pagure/templates/pagure.cfg index 746591b..4bcec74 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',