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:
parent
121e874f73
commit
b4425bf9e6
1 changed files with 8 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue