Merge pull request #416 from sharelatex/ja-include-track-changes-feature

Add track changes feature flag into model
This commit is contained in:
James Allen 2017-02-13 12:17:20 +01:00 committed by GitHub
commit 644e45c4b9
2 changed files with 2 additions and 0 deletions

View file

@ -37,6 +37,7 @@ UserSchema = new Schema
compileGroup: { type:String, default: Settings.defaultFeatures.compileGroup } compileGroup: { type:String, default: Settings.defaultFeatures.compileGroup }
templates: { type:Boolean, default: Settings.defaultFeatures.templates } templates: { type:Boolean, default: Settings.defaultFeatures.templates }
references: { type:Boolean, default: Settings.defaultFeatures.references } references: { type:Boolean, default: Settings.defaultFeatures.references }
trackChanges: { type:Boolean, default: Settings.defaultFeatures.trackChanges }
} }
featureSwitches : { featureSwitches : {
track_changes: { type: Boolean } track_changes: { type: Boolean }

View file

@ -179,6 +179,7 @@ module.exports = settings =
compileGroup: "standard" compileGroup: "standard"
references: true references: true
templates: true templates: true
trackChanges: true
plans: plans = [{ plans: plans = [{
planCode: "personal" planCode: "personal"