Add the create_branch ACL to pagure's config on dist-git

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2018-05-14 21:30:25 +02:00
parent f1b716597d
commit deadff2000

View file

@ -202,6 +202,7 @@ DISABLED_PLUGINS = ['IRC', 'Pagure tickets', 'Read the Doc', 'Fedmsg']
ALWAYS_FEDMSG_ON_COMMITS = True ALWAYS_FEDMSG_ON_COMMITS = True
ACLS = { ACLS = {
'create_branch': 'Create a git branch on a project',
'create_project': 'Create a new project', 'create_project': 'Create a new project',
'fork_project': 'Fork a project', 'fork_project': 'Fork a project',
'pull_request_close': 'Close a pull-request of this project', 'pull_request_close': 'Close a pull-request of this project',
@ -264,6 +265,7 @@ ADMIN_API_ACLS = [
'modify_project', 'modify_project',
'generate_acls_project', 'generate_acls_project',
'commit_flag', 'commit_flag',
'create_branch',
] ]
BLACKLISTED_GROUPS = ['forks', 'group'] BLACKLISTED_GROUPS = ['forks', 'group']