On 3/28/19 2:58 AM, Pierre-Yves Chibon wrote:
This just makes pagure accept to generate project-less API tokens
with these two ACLs.
Signed-off-by: Pierre-Yves Chibon <pingou(a)pingoured.fr>
---
roles/distgit/pagure/templates/pagure.cfg | 2 --
1 file changed, 2 deletions(-)
diff --git a/roles/distgit/pagure/templates/pagure.cfg
b/roles/distgit/pagure/templates/pagure.cfg
index a66b3278b..385b80464 100644
--- a/roles/distgit/pagure/templates/pagure.cfg
+++ b/roles/distgit/pagure/templates/pagure.cfg
@@ -273,10 +273,8 @@ USER_ACLS = [
CROSS_PROJECT_ACLS = [
'fork_project',
'modify_project',
-{% if env == 'staging' %}
'pull_request_create',
'pull_request_comment',
-{% endif %}
]
ADMIN_API_ACLS = [
+1 here, sounds like a good thing to have.
kevin