Add feature flag to turn off requirement for team invitations
Fixes #1804
This commit is contained in:
parent
bd9c258ba2
commit
25ed99f9ef
4 changed files with 18 additions and 1 deletions
|
@ -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
|
||||
|
|
Reference in a new issue