[pagure] Make more ACLs available for API token

Add issue_close and pull_request_close ACLs to cross project ACLs. These ACLs
are already used in Pagure API, you can't just create API token with these ACLs.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
Michal Konečný 2022-03-25 10:42:35 +01:00 committed by zlopez
parent 53beedd6db
commit 34af94b291

View file

@ -388,10 +388,12 @@ CROSS_PROJECT_ACLS = [
'modify_project',
'issue_create',
'issue_comment',
'issue_close',
'pull_request_create',
'pull_request_comment',
'pull_request_merge',
'pull_request_flag',
'pull_request_close',
'commit',
]