<div dir="ltr">Dear all,<div>while working on this GNIP (GNIP: GeoServer A&A Improvements)</div><div><br></div><div><a href="https://github.com/GeoNode/geonode/issues/2374">https://github.com/GeoNode/geonode/issues/2374</a><br></div><div><br></div><div>(which by the way has been updated allowing GeoNode and GeoServer to rely on OAuth2 Protocol and GeoFence)</div><div><br></div><div>we are facing an "issue" trying to set layers' access rules accordingly to GeoNode permissions.</div><div><br></div><div>Long story short, currently GeoNode allows a user to setup two different kind of Layer access permissions:</div><div><br></div><div>1. View permissions (the Layer can be visualized on map and is listed on the GeoNode layers list)</div><div><br></div><div>2. Download permissions (the Layer can be downloaded in several formats, JPEG, PNG, PDF etc...)</div><div><br></div><div>While this is correctly handled on GeoNode side, I guess there are some discrepancies on how this can be handled on the backend (GeoServer in this case).</div><div><br></div><div>The thing is, if you can download a layer on the backend you necessarily have also permissions to see it. Unless view and download use different protocols (which is not the case) to download a layer a user must have permissions to access it.</div><div><br></div><div>That means that even if in GeoNode we remove view permissions to a layer but we leave download ones, the Layer won't be listed in GeoNode but it will be always accessible from GeoServer.</div><div><br></div><div>I'm going to ask here, is it correct to maintain this logic? Should be instead put more controls on GeoNode and make view permissions take precedence on download ones (if you cannot view it you cannot download it either)? </div><div><br></div><div>Thoughts?</div><div><br></div><div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div style="font-size:12.8px">Best Regards,</div><div style="font-size:12.8px">Alessio Fabiani.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>==</div><div>GeoServer Professional Services from the experts!</div><div>Visit <a href="http://goo.gl/it488V" target="_blank">http://goo.gl/it488V</a> for more information.</div><div>==</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Ing. Alessio Fabiani</div><div style="font-size:12.8px">@alfa7691</div><div style="font-size:12.8px">Founder/Technical Lead</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>GeoSolutions S.A.S.</div><div>Via di Montramito 3/A</div><div>55054  Massarosa (LU)</div><div>Italy</div><div>phone: +39 0584 962313</div><div>fax:     +39 0584 1660272</div><div>mob:   +39 331 6233686</div><div><br></div><div><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a></div><div><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolutions_it</a></div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">-------------------------------------------------------</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><p><span lang="IT"><font size="1"><b>AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</b></font></span></p><p><span lang="IT"><font size="1">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</font></span></p><p><span lang="IT"><font size="1"> </font></span></p><p><font size="1">The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility  for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.</font></p><p><font size="1">---------------------------------------------------------------------</font></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div>