diff options
Diffstat (limited to 'server/initializers/constants.js')
-rw-r--r-- | server/initializers/constants.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/server/initializers/constants.js b/server/initializers/constants.js index 5f4aeccc6..416356400 100644 --- a/server/initializers/constants.js +++ b/server/initializers/constants.js | |||
@@ -72,6 +72,11 @@ const THUMBNAILS_SIZE = '200x110' | |||
72 | // Path for access to thumbnails with express router | 72 | // Path for access to thumbnails with express router |
73 | const THUMBNAILS_STATIC_PATH = '/static/thumbnails' | 73 | const THUMBNAILS_STATIC_PATH = '/static/thumbnails' |
74 | 74 | ||
75 | const USER_ROLES = { | ||
76 | ADMIN: 'admin', | ||
77 | USER: 'user' | ||
78 | } | ||
79 | |||
75 | // Special constants for a test instance | 80 | // Special constants for a test instance |
76 | if (isTestInstance() === true) { | 81 | if (isTestInstance() === true) { |
77 | FRIEND_SCORE.BASE = 20 | 82 | FRIEND_SCORE.BASE = 20 |
@@ -96,7 +101,8 @@ module.exports = { | |||
96 | SEEDS_IN_PARALLEL: SEEDS_IN_PARALLEL, | 101 | SEEDS_IN_PARALLEL: SEEDS_IN_PARALLEL, |
97 | SORTABLE_COLUMNS: SORTABLE_COLUMNS, | 102 | SORTABLE_COLUMNS: SORTABLE_COLUMNS, |
98 | THUMBNAILS_SIZE: THUMBNAILS_SIZE, | 103 | THUMBNAILS_SIZE: THUMBNAILS_SIZE, |
99 | THUMBNAILS_STATIC_PATH: THUMBNAILS_STATIC_PATH | 104 | THUMBNAILS_STATIC_PATH: THUMBNAILS_STATIC_PATH, |
105 | USER_ROLES: USER_ROLES | ||
100 | } | 106 | } |
101 | 107 | ||
102 | // --------------------------------------------------------------------------- | 108 | // --------------------------------------------------------------------------- |