Revert "x"

This reverts commit 182ea3dac3.
This commit is contained in:
Girish Ramakrishnan
2018-05-03 09:29:23 -07:00
parent 726cafcee4
commit 616e38189c
+1 -1
View File
@@ -320,7 +320,7 @@ function getUser(userId, callback) {
result.groupIds = groupIds;
result.admin = groupIds.indexOf(constants.ADMIN_GROUP_ID) !== -1;
result.scope = result.admin ? '*' : 'users,profile';
result.scope = result.admin ? '*' : 'profile';
return callback(null, result);
});