settings: Add web_public_streams_enabled server setting.

This new setting both serves as a guard to allow us to merge API
support for web public streams to main before we're ready for this
feature to be available on Zulip Cloud, and also long term will
protect self-hosted servers from accidentally enabling web-public
streams (which could be a scary possibility for the administrators of
a corporate Zulip server).
This commit is contained in:
Tim Abbott
2021-09-21 10:49:12 -07:00
parent 8c50a08066
commit 8fe61674d4
4 changed files with 37 additions and 4 deletions

View File

@@ -74,6 +74,7 @@ CAMO_URI = ""
TORNADO_PORTS = [9993]
OPEN_REALM_CREATION = True
WEB_PUBLIC_STREAMS_ENABLED = True
INVITES_MIN_USER_AGE_DAYS = 0
EMBEDDED_BOTS_ENABLED = True