defaults.json
Overview
Provides publicly available data for the root application.
Settings can be placed in a file 'defaults.json'.
Some parameters may be overridden by the system regardless of the specified values in the file:
-
defaultDomain
- domain, substituted by default in the input field of the login window. If no domains are created in the system, the name of the master domain is substituted. If only one domain is created, its name is substituted. If the 'default_domain' field in the master domain settings contains the name of an existing domain, it will be substituted. Otherwise, the value from the original 'defaults.json' file is substituted. If the value is a string 'URL', then the domain from the browser URL where the application was loaded is substituted. -
selfRegisterAllowed
- based on the master domain setting 'self_register_mode' determines the authorization for self-registering users. As a result, the corresponding link will or will not be available in the authorization form. -
selfRegisterDomains
- based on the master domain settings 'self_register_mode' and 'self_register_domains' defines a list of domains to which self user registration is allowed. This list can also be constructed by polling all domains (see Domain Settings, field 'self_register_allowed']). As a result, a drop-down list of domains is populated in the self-registration form.