From a790f2b884c246b24604c0dddaadef03dd6bf849 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Wed, 6 Mar 2019 16:19:48 +0100 Subject: [PATCH] Allow the cross-project ACLs pull_request_create pull_request_comment in staging Fixes https://pagure.io/fedora-infrastructure/issue/7623 Signed-off-by: Pierre-Yves Chibon --- roles/distgit/pagure/templates/pagure.cfg | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/roles/distgit/pagure/templates/pagure.cfg b/roles/distgit/pagure/templates/pagure.cfg index 239c04744d..a66b3278bc 100644 --- a/roles/distgit/pagure/templates/pagure.cfg +++ b/roles/distgit/pagure/templates/pagure.cfg @@ -272,7 +272,11 @@ USER_ACLS = [ CROSS_PROJECT_ACLS = [ 'fork_project', - 'modify_project' + 'modify_project', +{% if env == 'staging' %} + 'pull_request_create', + 'pull_request_comment', +{% endif %} ] ADMIN_API_ACLS = [