{"action":"opened","issue":{"url":"https://api.github.com/repos/GeoNode/geonode/issues/2933","repository_url":"https://api.github.com/repos/GeoNode/geonode","labels_url":"https://api.github.com/repos/GeoNode/geonode/issues/2933/labels{/name}","comments_url":"https://api.github.com/repos/GeoNode/geonode/issues/2933/comments","events_url":"https://api.github.com/repos/GeoNode/geonode/issues/2933/events","html_url":"https://github.com/GeoNode/geonode/issues/2933","id":210691585,"number":2933,"title":"Setting correct Geonode/Geoserver security permissions for anon user to view layers","user":{"login":"stevenvandervalk","id":3012945,"avatar_url":"https://avatars.githubusercontent.com/u/3012945?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenvandervalk","html_url":"https://github.com/stevenvandervalk","followers_url":"https://api.github.com/users/stevenvandervalk/followers","following_url":"https://api.github.com/users/stevenvandervalk/following{/other_user}","gists_url":"https://api.github.com/users/stevenvandervalk/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenvandervalk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenvandervalk/subscriptions","organizations_url":"https://api.github.com/users/stevenvandervalk/orgs","repos_url":"https://api.github.com/users/stevenvandervalk/repos","events_url":"https://api.github.com/users/stevenvandervalk/events{/privacy}","received_events_url":"https://api.github.com/users/stevenvandervalk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-28T05:34:41Z","updated_at":"2017-02-28T05:34:41Z","closed_at":null,"body":"Hi.  Thanks a lot for the project and active support on mailing lists here! \r\n\r\nI'm currently stuck finding the right security permissions to let an anon Geonode user to view what should be public layers without having to disable security chains.\r\n\r\nIf I upload a layer using my admin user in geoserver-shell or QGIS plugin or simply through Geoserver Importer UI, when previewed in Geonode it works fine.\r\n\r\n![screenshot 2017-02-28 15 02 37](https://cloud.githubusercontent.com/assets/3012945/23392458/784d3142-fdc7-11e6-8a5d-49f5a8ee18f7.png)\r\n  \r\nHowever when I visit it as not logged in user, the base layer renders but not the tiles with WFS features.  I've set the \"Anyone\" button in the \"Change Layer Permissions\"  UI in Geonode.  E.g.\r\n![screenshot 2017-02-28 15 05 52](https://cloud.githubusercontent.com/assets/3012945/23392456/70aaa76c-fdc7-11e6-9da4-1e99908a59bf.png)\r\n\r\n\r\nI think this is the relevant query the map viewer is calling which suggests it should go through the `default` or `rest` security chains in Geoserver but amending neither one seems to be retained after a closing the UI and rebooting tomcat.  Any advice on that weird behaviour?\r\n```\r\nhttp://geonode.connectedurbantropics.org/geoserver/wms?LAYERS=Testing%3ACreekwatch2014-15&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image%2Fpng&TILED=true&SRS=EPSG%3A900913&BBOX=16319611.284727,-2191602.4746875,16358747.043203,-2152466.7162109&WIDTH=256&HEIGHT=256”\r\n```\r\n\r\nI'm currently using Geonode `2.4.1` and Geoserver `2.7.4`. I installed from apt on Ubuntu 14.04 and added a custom geonode project for layout and contact forms.\r\n\r\nAny advice or simply how to go about debugging this would be greatly appreciated!\r\n"}}
{"actor":{"display_login":"stevenvandervalk"}}