Adjust the ACLs for pagure on dist-git
This commit is contained in:
parent
08cec317f9
commit
62061c4da3
1 changed files with 18 additions and 0 deletions
|
@ -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',
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue