Add track changes flag into user model

This commit is contained in:
James Allen 2017-02-03 14:47:04 +01:00
parent 343abfde23
commit 935847f2a1

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 }