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 }
templates: { type:Boolean, default: Settings.defaultFeatures.templates }
references: { type:Boolean, default: Settings.defaultFeatures.references }
trackChanges: { type:Boolean, default: Settings.defaultFeatures.trackChanges }
}
featureSwitches : {
track_changes: { type: Boolean }

View file

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