remove spaces support

this feature is unused for too long now
This commit is contained in:
Girish Ramakrishnan
2019-05-04 18:34:02 -07:00
parent b4b3fd9ab6
commit e553ade936
6 changed files with 4 additions and 45 deletions

View File

@@ -115,7 +115,7 @@ function scopesForUser(user, callback) {
if (user.admin) return callback(null, exports.VALID_SCOPES);
callback(null, config.isSpacesEnabled() ? [ 'profile', 'apps', 'domains:read', 'users:read' ] : [ 'profile', 'apps:read' ]);
callback(null, [ 'profile', 'apps:read' ]);
}
function validateToken(accessToken, callback) {