GeoNode / geonode

GeoNode is an open source platform that facilitates the creation, sharing, and collaborative use of geospatial data.
https://geonode.org/
Other
1.46k stars 1.13k forks source link

Layers without viewing and downloading permissions are displayed as WMS layer e.g. in QGIS #7568

Closed Phantast-01 closed 2 years ago

Phantast-01 commented 3 years ago

Expected Behavior

Upload a layer and remove the viewing and download permissions for the public. If I looking for data with QGIS via WMS Layer, I don't find the layer

Actual Behavior

Upload a layer and remove the viewing and download permissions for the public.

The layer's permissions are respected in Geonode, but if I invoke the layer using WMS Layer in QGis for example, it continues to display. If I invoke the layer using WFS Layer in QGIS, I cannot find the layer (works well). Issue is similar to #6996

Steps to Reproduce the Problem

  1. Upload a layer and remove public viewing and download permissions
  2. Create a WMS / WMST data source in Qgis
  3. The layer is displayed as a WMS layer, but not as a WFS layer.

Specifications

giohappy commented 2 years ago

We weren't able to reproduce this. In our tests Geofence rules (which control access to Geoserver services) are working as expected, preventing users without the correct permissions (token) to access the services.

If you have more info feel free to reopen the issue, but be aware that 3.2.x is ending its life soon