Skip to content

Commit

Permalink
[minor] Added databases resource to require authorization
Browse files Browse the repository at this point in the history
  • Loading branch information
indexzero committed Aug 14, 2011
1 parent 0795ae0 commit a770496
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jitsu/commands.js
Expand Up @@ -19,7 +19,7 @@ fs.readdirSync(path.join(__dirname, 'commands')).forEach(function (cmd) {
});
});

var requireAuth = ['apps', 'snapshots', 'logs'];
var requireAuth = ['apps', 'databases', 'logs', 'snapshots'];

commands.requiresAuth = function (resource) {
return requireAuth.indexOf(resource) !== -1;
Expand Down

0 comments on commit a770496

Please sign in to comment.