add instructions for a mapuser

This commit is contained in:
Simon Tokumine 2011-09-08 15:40:27 +01:00
parent 4547ae932a
commit 5360a41ccf

View File

@ -63,6 +63,8 @@ function handleQuery(req, res){
database = (data == "" || _.isNull(data)) ? database : data;
oAuth.verifyRequest(req, this);
},
// TODO insert check here for if it's a map request from the internal CartoDB session key
// TODO if it is, allow RW or R?
function querySql(err, user_id){
if (err) throw err;
pg = new PSQL(user_id, database, limit, offset);