feat(analytics): AB testing

User model update for AB tests, and the first AB test to start Sept 12

closes #7984
This commit is contained in:
Sabe Jones
2016-09-08 19:54:27 +00:00
committed by Blade Barringer
parent 6f2767edd3
commit f20a7b851f
225 changed files with 606 additions and 614 deletions

View File

@@ -10,7 +10,7 @@ import schema from './schema';
schema.plugin(baseModel, {
// noSet is not used as updating uses a whitelist and creating only accepts specific params (password, email, username, ...)
noSet: [],
private: ['auth.local.hashed_password', 'auth.local.salt', '_cronSignature'],
private: ['auth.local.hashed_password', 'auth.local.salt', '_cronSignature', '_ABtest'],
toJSONTransform: function userToJSON (plainObj, originalDoc) {
plainObj._tmp = originalDoc._tmp; // be sure to send down drop notifs
delete plainObj.filters;