I imported a shapefile successfully to GeoServer.
When I query the WMS service for its capabilities, i.e.:
If the user is logged in as admin, the layer itself and all its capabilities show up fine.
If the user is logged out (using another browser, a private window, another computer, etc...), the Layer simply doesn't seem to show up.
A more specific example - When I specifically query for the layer while having an admin session, i.e.
https://<domain>/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=<my layer> [other parameters omitted for brevity]
The layer is shown just fine if I have admin logged in.
If the user is logged out, I get the error
Could not find layer.
A few more details about my setup: My GeoServer is based on the Docker image: https://hub.docker.com/r/geonode/geoserver - Version 2.18.2
security/layer.properties and they seem to be:
#Thu May 20 10:14:42 GMT 2021 *.*.r=* *.*.w=GROUP_ADMIN,ADMIN mode=MIXED
Which I think means "Anyone" can read any layers, right?
Does anyone have any idea what could be causing this? Is there any privacy parameter that I might have overlooked? Any specific Docker parameter that I missed? I ask this because this doesn't seem to happen with my other non-Docker deployment.