geonode icon indicating copy to clipboard operation
geonode copied to clipboard

Non-superuser cannot view layers with 'Everyone' permissions - Geonode 2.6.x

Open olearytd opened this issue 8 years ago • 2 comments

I have Geonode 2.6.x running on a Centos 7 machine. I installed via the developer documentation found here: http://docs.geonode.org/en/master/tutorials/install_and_admin/setup_on_centos/setup_centos.html

My current issue is if a user is not a superuser, they cannot see the uploaded layer on the map. They can see the layers that have been uploaded, thumbnails, etc but if the user clicks a layer then the layer outlines do not return.

screen shot 2017-12-22 at 6 12 01 am
screen shot 2017-12-22 at 6 12 33 am

Looking at the network log, I see the geoserver web call and I am getting 200 OK because it is authenticating my user but if I look at the output of the OK request I get this:

Could not find layer geonode:wdb3

Logging into Geoserver with the above user (via geonode Oauth Provider) I can see in layer preview that there are 184 layers (correct) but I can't view any of them.

screen shot 2017-12-22 at 6 11 13 am

Permissions for all layers are set to 'Anyone' - and if I change this same user to 'Superuser' everything works as expected.

I've been looking at configurations on the security documentation provided but I can't seem to find what could be the problem. Any help would be appreciated.

olearytd avatar Dec 22 '17 11:12 olearytd

ping

olearytd avatar Jan 17 '18 15:01 olearytd

@olearytd please ask on the mailing list [email protected] for support, this looks like a misconfiguration rather than a bug. Closing it for now

simod avatar Jan 17 '18 16:01 simod