mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 14:03:30 +00:00 
			
		
		
		
	Simplify deployment role configuration.
(imported from commit f9a9cf0ae33e7a74517255f944c91fa9aba14e33)
This commit is contained in:
		@@ -13,10 +13,9 @@ ZULIP_ADMINISTRATOR = ''
 | 
				
			|||||||
# The domain for your organization, e.g. example.com
 | 
					# The domain for your organization, e.g. example.com
 | 
				
			||||||
ADMIN_DOMAIN = ''
 | 
					ADMIN_DOMAIN = ''
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# These credentials are for communication with the central Zulip
 | 
					# The deployment key is used by your server to authenticate any
 | 
				
			||||||
# deployment manager.  You should have been provided with them by
 | 
					# communication with Zulip.  You can obtain your key from
 | 
				
			||||||
# Zulip support.
 | 
					# https://zulip.com/enterprise/download/deployment-key
 | 
				
			||||||
DEPLOYMENT_ROLE_NAME = ''
 | 
					 | 
				
			||||||
DEPLOYMENT_ROLE_KEY = ''
 | 
					DEPLOYMENT_ROLE_KEY = ''
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Enable at least one of the following authentication backends.
 | 
					# Enable at least one of the following authentication backends.
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -246,6 +246,7 @@ DEFAULT_SETTINGS = {'TWITTER_CONSUMER_KEY': '',
 | 
				
			|||||||
                    'LOCAL_UPLOADS_DIR': None,
 | 
					                    'LOCAL_UPLOADS_DIR': None,
 | 
				
			||||||
                    'DROPBOX_APP_KEY': '',
 | 
					                    'DROPBOX_APP_KEY': '',
 | 
				
			||||||
                    'ERROR_REPORTING': True,
 | 
					                    'ERROR_REPORTING': True,
 | 
				
			||||||
 | 
					                    'DEPLOYMENT_ROLE_NAME': ADMIN_DOMAIN,
 | 
				
			||||||
                    # The following bots only exist in non-ENTERPRISE installs
 | 
					                    # The following bots only exist in non-ENTERPRISE installs
 | 
				
			||||||
                    'ERROR_BOT': None,
 | 
					                    'ERROR_BOT': None,
 | 
				
			||||||
                    'NEW_USER_BOT': None,
 | 
					                    'NEW_USER_BOT': None,
 | 
				
			||||||
@@ -276,7 +277,6 @@ MANAGERS = ADMINS
 | 
				
			|||||||
REQUIRED_SETTINGS = [("EXTERNAL_HOST", ""),
 | 
					REQUIRED_SETTINGS = [("EXTERNAL_HOST", ""),
 | 
				
			||||||
                     ("ZULIP_ADMINISTRATOR", ""),
 | 
					                     ("ZULIP_ADMINISTRATOR", ""),
 | 
				
			||||||
                     ("ADMIN_DOMAIN", ""),
 | 
					                     ("ADMIN_DOMAIN", ""),
 | 
				
			||||||
                     ("DEPLOYMENT_ROLE_NAME", ""),
 | 
					 | 
				
			||||||
                     ("DEPLOYMENT_ROLE_KEY", ""),
 | 
					                     ("DEPLOYMENT_ROLE_KEY", ""),
 | 
				
			||||||
                     # SECRET_KEY doesn't really need to be here, in
 | 
					                     # SECRET_KEY doesn't really need to be here, in
 | 
				
			||||||
                     # that we set it automatically, but just in
 | 
					                     # that we set it automatically, but just in
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user