diff --git a/lib/cartodb/server_options.js b/lib/cartodb/server_options.js index 5518efab..902e1a92 100644 --- a/lib/cartodb/server_options.js +++ b/lib/cartodb/server_options.js @@ -558,9 +558,13 @@ module.exports = function(){ } if ( ! signed_by ) { - // request not authorized by signer, continue - // to check map privacy - return null; + // request not authorized by signer, + // continue to check table privacy, + // if table was given + if ( req.params.table ) return null; + // otherwise return no authorization + callback(err, null); + return; } // Authorized by "signed_by" !