We script the installation of Discourse in support of a series of internal community sites in which we want all users to default to trust level 3. However, the following approach doesn’t work for the
default_trust_level setting. We set many other site settings in this manner successfully including
default_invitee_trust_level, but using this approach results in a “1” for the
We’re on: v1.6.0.beta2 +102
- exec: cmd: - su discourse -c 'RAILS_ENV=production /var/www/discourse/bin/rails r "SiteSetting.default_trust_level='"'3'"' "' - su discourse -c 'RAILS_ENV=production /var/www/discourse/bin/rails r "SiteSetting.default_invitee_trust_level='"'3'"' "'