From 1efcf8a90b6858b9be176ba7776f229eecbb742d Mon Sep 17 00:00:00 2001 From: Maja Massarini Date: Wed, 21 Feb 2024 09:51:29 +0100 Subject: [PATCH] Add pr update and rebase acls to user tokens Packit needs this ACLs to be able to update PRs it has already created. We are implementing this feature: https://github.com/packit/packit/issues/2182 Packit needs this ACLs just in distgit. --- roles/distgit/pagure/templates/pagure.cfg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/distgit/pagure/templates/pagure.cfg b/roles/distgit/pagure/templates/pagure.cfg index 8db0e20ad9..8afc1bdc4d 100644 --- a/roles/distgit/pagure/templates/pagure.cfg +++ b/roles/distgit/pagure/templates/pagure.cfg @@ -271,6 +271,8 @@ USER_ACLS = [ 'pull_request_comment', 'pull_request_flag', 'pull_request_merge', + 'pull_request_update', + 'pull_request_rebase', 'modify_project', 'update_watch_status', ] @@ -282,6 +284,8 @@ CROSS_PROJECT_ACLS = [ 'pull_request_close', 'pull_request_comment', 'pull_request_merge', + 'pull_request_update', + 'pull_request_rebase', 'pull_request_flag', 'update_watch_status', ]