[distgit] Enable commit ACLs for admin tokens

To enable retirement of rawhide branch for EPEL only packages (see
https://pagure.io/fedora-infra/toddlers/issue/151 for more info) I need
to enable `commit` ACL on dist-git (see
https://docs.pagure.org/pagure/usage/http_push.html for more info).
This commit is contained in:
Michal Konecny 2025-05-07 13:23:00 +02:00 committed by zlopez
parent 8aa224bba2
commit 3abba00b2a

View file

@ -243,6 +243,7 @@ PRIVATE_PROJECTS = False
PR_TARGET_MATCHING_BRANCH = True
ACLS = {
"commit": "Commit to a git repository via http(s)",
'create_branch': 'Create a git branch on a project',
'create_project': 'Create a new project',
'fork_project': 'Fork a project',
@ -312,6 +313,7 @@ ADMIN_API_ACLS = [
'pull_request_flag',
'pull_request_comment',
'pull_request_merge',
'commit',
'create_project',
'group_modify',
'modify_project',