Add feature flag to enable viewing builds and build logs for public repos

This commit is contained in:
Joseph Schorr 2017-08-07 15:24:36 -04:00
parent 0359ac8753
commit dff4207a89
6 changed files with 18 additions and 6 deletions

View file

@ -269,6 +269,10 @@ class DefaultConfig(ImmutableConfig):
# only private repositories can be returned.
FEATURE_PUBLIC_CATALOG = False
# Feature Flag: If set to true, build logs may be read by those with read access to the repo,
# rather than only write access or admin access.
FEATURE_READER_BUILD_LOGS = False
# 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