1
0
Fork 0
forked from infra/ansible

[pagure] Re-enable project creation on staging

See https://pagure.io/fedora-infrastructure/issue/12943 for the reason
behind this.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
Michal Konečný 2025-11-27 11:14:33 +01:00
commit b4425bf9e6

View file

@ -387,12 +387,20 @@ LOGGING_GIT_HOOKS = {
# Setting ENABLE_UI_NEW_PROJECTS, ACLS, ADMIN_API_ACLS to stop
# creation of new projects going forward on pagure.io
{% if env == 'staging' %}
ENABLE_UI_NEW_PROJECTS = False
{% else %}
ENABLE_UI_NEW_PROJECTS = True
{% endif %}
# this is the list of default ACLS, minus create_project
USER_ACLS = [
"create_branch",
{% if env == 'staging' %}
"create_project",
{% else %}
# "create_project",
{% endif %}
"commit_flag",
"fork_project",
"issue_assign",