code: function(methodMapper, request, response, callback) {
        var modelMethod = methodMapper[request.method];
        if (access[modelMethod] === true) {
          return callback(null, true);
        }
  
        return application.access(request, access[modelMethod], callback);
      }
docs: Helper function that receives a HTTP method/Model method mapper and run the appropriate access checks.