diff --git a/lib/cartodb/controllers/layergroup.js b/lib/cartodb/controllers/layergroup.js index e0aa6b44..845f7eaf 100644 --- a/lib/cartodb/controllers/layergroup.js +++ b/lib/cartodb/controllers/layergroup.js @@ -59,7 +59,10 @@ LayergroupController.prototype.attributes = function(req, res) { assert.ifError(err); - self.attributesBackend.getFeatureAttributes(req.params, false, this); + var mapConfigProvider = new MapStoreMapConfigProvider( + self.mapStore, req.context.user, self.userLimitsApi, req.params + ); + self.attributesBackend.getFeatureAttributes(mapConfigProvider, req.params, false, this); }, function finish(err, tile, stats) { req.profiler.add(stats || {});