@dhyasama/totem-models 10.11.0 → 10.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/Account.js +4 -8
  2. package/package.json +1 -1
package/lib/Account.js CHANGED
@@ -16,15 +16,11 @@ module.exports = function(mongoose, config) {
16
16
  active: { type: Boolean },
17
17
  role: { type: String, enum: ['admin', 'lp-full', 'financials-viewer', 'none'] },
18
18
 
19
- // Enable this and iLevel links will show on portfolio pages
20
- iLevelUser: { type: Boolean },
19
+ permissions: { type: Array, default: [] },
21
20
 
22
21
  totemLive: {
23
-
24
- excelUser: { type: Boolean, default: false },
25
-
26
- sheetsUser: { type: Boolean, default: false },
27
-
22
+ excelUser: { type: Boolean, default: true },
23
+ sheetsUser: { type: Boolean, default: true },
28
24
  },
29
25
 
30
26
  person: {
@@ -68,7 +64,7 @@ module.exports = function(mongoose, config) {
68
64
  },
69
65
 
70
66
  calendar: {
71
- active: { type: Boolean, default: true }, // only pull if this is active
67
+ active: { type: Boolean, default: true }, // only pull if this is active
72
68
  forcePullAll: { type: Boolean, default: false } // override newest event date as min and go back all the way
73
69
  },
74
70
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "10.11.0",
3
+ "version": "10.12.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",