Skip to content

Layer filter and attribute table should not be enabled with view permission #2291

@allyoucanmap

Description

@allyoucanmap

The filter tool and the attribute table works only when a user as download permissions because are based on the WFS service.
We need to disable the filter layer and the attribute table when the dataset does not have download_resourcebase inside the perms property.

For datasets we need to:

  • disable view data when download_resourcebase is not available
Image
  • disable filter plugin when download_resourcebase is not available
Image

For maps we need to:

  • disable attribute table when download_resourcebase is not available
Image
  • disable filter plugin when download_resourcebase is not available
Image

Probably this can be solved with localConfig configuration we already doing something similar for widgets builder, see:

https://github.com/GeoNode/geonode-mapstore-client/blob/master/geonode_mapstore_client/static/mapstore/configs/localConfig.json#L2033

Metadata

Metadata

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions