diff --git a/Parse-Dashboard/app.js b/Parse-Dashboard/app.js index cb1f0c6313..b3ce1b4191 100644 --- a/Parse-Dashboard/app.js +++ b/Parse-Dashboard/app.js @@ -117,13 +117,14 @@ module.exports = function(config, options) { if (successfulAuth) { if (appsUserHasAccess) { - // Restric access to apps defined in user dictionary + // Restrict access to apps defined in user dictionary // If they didn't supply any app id, user will access all apps response.apps = response.apps.filter(function (app) { return appsUserHasAccess.find(appUserHasAccess => { const isSame = app.appId === appUserHasAccess.appId; if (isSame && appUserHasAccess.readOnly) { app.masterKey = app.readOnlyMasterKey; + console.log(req.user); } return isSame; })