|
|
|
@ -84,7 +84,7 @@ AuthApi.prototype.authorizedByAPIKey = function(user, req, callback) {
|
|
|
|
|
* Check access authorization
|
|
|
|
|
*
|
|
|
|
|
* @param req - standard req object. Importantly contains table and host information
|
|
|
|
|
* @param params res.locals parameters. Contains the auth parameters
|
|
|
|
|
* @param res - standard res object. Contains the auth parameters in locals
|
|
|
|
|
* @param callback function(err, allowed) is access allowed not?
|
|
|
|
|
*/
|
|
|
|
|
AuthApi.prototype.authorize = function(req, res, callback) {
|
|
|
|
|