From deadff200041e3db25c82960d612745ea81549ea Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mon, 14 May 2018 21:30:25 +0200 Subject: [PATCH] Add the create_branch ACL to pagure's config on dist-git Signed-off-by: Pierre-Yves Chibon --- roles/distgit/pagure/templates/pagure.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/distgit/pagure/templates/pagure.cfg b/roles/distgit/pagure/templates/pagure.cfg index 0787abd4e1..1c9dc36e49 100644 --- a/roles/distgit/pagure/templates/pagure.cfg +++ b/roles/distgit/pagure/templates/pagure.cfg @@ -202,6 +202,7 @@ DISABLED_PLUGINS = ['IRC', 'Pagure tickets', 'Read the Doc', 'Fedmsg'] ALWAYS_FEDMSG_ON_COMMITS = True ACLS = { + 'create_branch': 'Create a git branch on a project', 'create_project': 'Create a new project', 'fork_project': 'Fork a project', 'pull_request_close': 'Close a pull-request of this project', @@ -264,6 +265,7 @@ ADMIN_API_ACLS = [ 'modify_project', 'generate_acls_project', 'commit_flag', + 'create_branch', ] BLACKLISTED_GROUPS = ['forks', 'group']