From a770496681935080478a0bd102735d7ddb52cfb6 Mon Sep 17 00:00:00 2001 From: indexzero Date: Sun, 14 Aug 2011 14:49:43 -0400 Subject: [PATCH] [minor] Added `databases` resource to require authorization --- lib/jitsu/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jitsu/commands.js b/lib/jitsu/commands.js index 676646e..1ea675d 100644 --- a/lib/jitsu/commands.js +++ b/lib/jitsu/commands.js @@ -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;