Add feature flag to turn off requirement for team invitations

Fixes #1804
This commit is contained in:
Joseph Schorr 2016-09-20 16:45:00 -04:00
parent bd9c258ba2
commit 25ed99f9ef
4 changed files with 18 additions and 1 deletions

View file

@ -208,6 +208,9 @@ class DefaultConfig(object):
# Docker.
FEATURE_LIBRARY_SUPPORT = True
# Feature Flag: Whether to require invitations when adding a user to a team.
FEATURE_REQUIRE_TEAM_INVITE = True
# The namespace to use for library repositories.
# Note: This must remain 'library' until Docker removes their hard-coded namespace for libraries.
# See: https://github.com/docker/docker/blob/master/registry/session.go#L320