GeoNode / geonode

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

Permission setting of a layer is not showing the layer only pink tiles (mostly) #2625

Closed blackgis closed 7 years ago

blackgis commented 8 years ago

Strange issue with permissions, they work but the displaying of data with permission not for allowed users/groups.

  1. Select a layer
  2. Change Layer Permissions
  3. toogle off anyone and specifing user and group
  4. Result, what works correctly is that in the layer overview the layer is not displayed for anyone (as expected), but for the allowed users and groups (as expected), BUT when selecting the layer again as an allowed user, the map shows pink tiles where the data should be (geoserver issue?) or nothing will be displayed.

System Ubuntu 14.04.2LTS, GeoNode 2.4.1

Is this a bug?

simod commented 8 years ago

Hi I cannot replicate this.Data are correctly shown to authorised users

blackgis commented 7 years ago

Hi, thank you for replying. Unfortunately it still exists. Can you give me a hint what this can cause. The permission in the geoserver works, because i tested it in qgis and logged in and got all layers i am authorized to see. Do i have to activated some authorization stuff because it must be some portal or django issue. I have seen that there is a extension for geoserver to add this functionality. I investigate on this but i appreciate any hints to solve my problem.

simod commented 7 years ago

GeoNode requires a special version of geoserver which has a security plugin. This geoserver is the one installed by geonode by default. So if you used a normal geoserver the permissions won't be respected.

capooti commented 7 years ago

@blackgis can we close this? Did you solve it?

blackgis commented 7 years ago

@capooti @simod We did a reinstall with the settings as described, and now its working. We use a PaaS for GeoNode and my hoster come up with the idea of installing the latest geoserver (2.9 at this time) and this was somehow the failure.