From a5aab4032038ffecfcc4c25b88f0cc0a38fb9a17 Mon Sep 17 00:00:00 2001 From: Shane Kilkelly Date: Wed, 1 Jun 2016 16:17:28 +0100 Subject: [PATCH] Add the `betaProgram` feature to User model. --- services/web/app/coffee/models/User.coffee | 1 + services/web/config/settings.defaults.coffee | 1 + 2 files changed, 2 insertions(+) diff --git a/services/web/app/coffee/models/User.coffee b/services/web/app/coffee/models/User.coffee index b0a7628f17..e5afd0a038 100644 --- a/services/web/app/coffee/models/User.coffee +++ b/services/web/app/coffee/models/User.coffee @@ -36,6 +36,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 } + betaProgram: { type:Boolean, default: Settings.defaultFeatures.betaProgram} } featureSwitches : { pdfng: { type: Boolean } diff --git a/services/web/config/settings.defaults.coffee b/services/web/config/settings.defaults.coffee index beb933e4c9..266db67466 100644 --- a/services/web/config/settings.defaults.coffee +++ b/services/web/config/settings.defaults.coffee @@ -153,6 +153,7 @@ module.exports = compileGroup: "standard" references: true templates: true + betaProgram: false plans: plans = [{ planCode: "personal"