mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
distgit/pagure: remove the commit ACL for API keys in stg
This was removed in prod in d0a8837 but left around in stg for
testing purposes. However, it is suspected that this was causing
users to not be able to push to forks in distgit, so removing.
https://pagure.io/fedora-infrastructure/issue/10045
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
@@ -233,9 +233,6 @@ ACLS = {
|
||||
'commit_flag': 'Flag a commit',
|
||||
"update_watch_status": "Update the watch status on a project",
|
||||
"tag_project": "Allows adding git tags to a project",
|
||||
{% if env == 'staging' %}
|
||||
"commit": "Commit to a git repository via http(s)",
|
||||
{% endif %}
|
||||
}
|
||||
|
||||
REQUIRED_GROUPS = {
|
||||
@@ -266,9 +263,6 @@ USER_ACLS = [
|
||||
'pull_request_merge',
|
||||
'modify_project',
|
||||
'update_watch_status',
|
||||
{% if env == 'staging' %}
|
||||
'commit',
|
||||
{% endif %}
|
||||
]
|
||||
|
||||
CROSS_PROJECT_ACLS = [
|
||||
@@ -279,9 +273,6 @@ CROSS_PROJECT_ACLS = [
|
||||
'pull_request_merge',
|
||||
'pull_request_flag',
|
||||
'update_watch_status',
|
||||
{% if env == 'staging' %}
|
||||
'commit',
|
||||
{% endif %}
|
||||
]
|
||||
|
||||
ADMIN_API_ACLS = [
|
||||
|
||||
Reference in New Issue
Block a user