distgit: Add pull_request_close ACL
Currently it's not possible to create token with pull_request_close ACL for user (see https://pagure.io/pagure-dist-git/issue/144). This commit will allow users to add pull_request_close ACL to their token. The user is still validated if it has the permission, so adding this ACL to user token doesn't allow user to use API to close any PR currently opened in dist-git. Thanks @pingou for helping me with this. Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
parent
bc57a02675
commit
98ea6b11fc
1 changed files with 1 additions and 0 deletions
|
@ -269,6 +269,7 @@ CROSS_PROJECT_ACLS = [
|
|||
'fork_project',
|
||||
'modify_project',
|
||||
'pull_request_create',
|
||||
'pull_request_close',
|
||||
'pull_request_comment',
|
||||
'pull_request_merge',
|
||||
'pull_request_flag',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue