Set up prod ACL config

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
Patrick Uiterwijk 2018-11-21 11:29:29 +01:00
parent dc90c38ec0
commit 5cd44ca6fe

View file

@ -62,9 +62,7 @@ GITOLITE_CELERY_QUEUE = 'gitolite_queue'
BLACKLISTED_GROUPS = ['forks', 'group']
{% if env == "staging" %}
# ACL settings
ACL_DEBUG = True
ACL_BLOCK_UNSPECIFIED = False
ACL_PROTECTED_NAMESPACES = ['rpms', 'modules', 'container']
RCM_GROUP = 'relenggroup'
@ -80,6 +78,9 @@ UNSPECIFIED_BLACKLIST_RES = ['refs/heads/f[0-9]+',
ALLOW_HTTP_PUSH = True
{% if env == "staging" %}
ACL_DEBUG = True
# repoSpanner setup
# For now, repoSpanner is enabled on a per-repo basis