Adjust the ACLs for pagure on dist-git

This commit is contained in:
Pierre-Yves Chibon 2017-08-08 17:50:24 +02:00
parent 08cec317f9
commit 62061c4da3

View file

@ -197,6 +197,7 @@ ACLS = {
'pull_request_comment': 'Comment on a pull-request of this project',
'pull_request_flag': 'Flag a pull-request of this project',
'pull_request_merge': 'Merge a pull-request of this project',
'modify_project': 'Modify an existing project'
}
EXTERNAL_COMMITTER = {
@ -219,3 +220,20 @@ PDC_URL = 'https://pdc.fedoraproject.org/rest_api/v1/'
GITOLITE_BACKEND = 'distgit'
THEME_TEMPLATE_FOLDER = '/usr/share/pagure_dist_git/template/'
USER_ACLS = [
'fork_project',
'pull_request_close',
'pull_request_comment',
'pull_request_flag',
'pull_request_merge',
'modify_project'
]
ADMIN_API_ACLS = [
'pull_request_flag',
'pull_request_comment',
'pull_request_merge',
'create_project',
]