[GeoNode-users] geonode 2.4 zip contains layers with restricted permissions.

Toni Schönbuchner toni.schoenbuchner at csgis.de
Tue Mar 14 06:27:50 PDT 2017


Alessio!

thanks a lot for this great answer!

cheers,

toni

> Am 14.03.2017 um 14:20 schrieb Alessio Fabiani <alessio.fabiani at geo-solutions.it>:
> 
> Hello Toni,
> sure.
> 
> Here you can find the GNIP for A&A refactor and realted PR
> 
> https://github.com/GeoNode/geonode/issues/2374 <https://github.com/GeoNode/geonode/issues/2374>
> 
> https://github.com/GeoNode/geonode/pull/2755 <https://github.com/GeoNode/geonode/pull/2755>
> 
> Also the detailed documentation is available on GeoNode docs here
> 
> http://docs.geonode.org/en/master/tutorials/admin/geoserver_geonode_security/index.html <http://docs.geonode.org/en/master/tutorials/admin/geoserver_geonode_security/index.html>
> 
> 
> Specifically about view and download permissions, here you can find the GNIP and PR:
> 
> https://github.com/GeoNode/geonode/issues/2696 <https://github.com/GeoNode/geonode/issues/2696>
> 
> https://github.com/GeoNode/geonode/pull/2698 <https://github.com/GeoNode/geonode/pull/2698>
> 
> GeoServer makes use of GeoFence advanced security subsystem in order to allow you to define grain-fined rules on layers. GeoNode handles them automatically, but you can also refine them manually via GeoServer admin interface.
> 
> Hope this helps,
> Alessio.
> 
> 
> 
> 
> 
> 
> 
> Best Regards,
> Alessio Fabiani.
> 
> ==
> GeoServer Professional Services from the experts!
> Visit http://goo.gl/it488V <http://goo.gl/it488V> for more information.
> ==
> 
> Ing. Alessio Fabiani
> @alfa7691
> github <https://github.com/afabiani?tab=overview>
> Founder/Technical Lead
> 
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax:     +39 0584 1660272
> mob:   +39 331 6233686
> 
> http://www.geo-solutions.it <http://www.geo-solutions.it/>
> http://twitter.com/geosolutions_it <http://twitter.com/geosolutions_it>
> 
> -------------------------------------------------------
> 
> AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
> 
> 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.
> 
>  
> 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.
> 
> ---------------------------------------------------------------------
> 
> 
> On Tue, Mar 14, 2017 at 2:10 PM, Toni Schönbuchner <toni.schoenbuchner at csgis.de <mailto:toni.schoenbuchner at csgis.de>> wrote:
> Alessio sorry I´ve answered to fast.
> Do you know if there is a GNIP or PR where I can read more about
> this (prevent download directly) in 2.5+
> 
> cheers,
> 
> toni
> 
>> Am 14.03.2017 um 13:54 schrieb Alessio Fabiani <alessio.fabiani at geo-solutions.it <mailto:alessio.fabiani at geo-solutions.it>>:
>> 
>> It would be better if you can use GeoNode 2.5+ with Oauth2 security and GeoServer as backend.
>> 
>> It will prevent you to download layer data on the backend side directly.
>> 
>> Best Regards,
>> Alessio Fabiani.
>> 
>> ==
>> GeoServer Professional Services from the experts!
>> Visit http://goo.gl/it488V <http://goo.gl/it488V> for more information.
>> ==
>> 
>> Ing. Alessio Fabiani
>> @alfa7691
>> github <https://github.com/afabiani?tab=overview>
>> Founder/Technical Lead
>> 
>> GeoSolutions S.A.S.
>> Via di Montramito 3/A
>> 55054  Massarosa (LU)
>> Italy
>> phone: +39 0584 962313 <tel:0584%20962313>
>> fax:     +39 0584 1660272 <tel:0584%20166%200272>
>> mob:   +39 331 6233686 <tel:331%20623%203686>
>> 
>> http://www.geo-solutions.it <http://www.geo-solutions.it/>
>> http://twitter.com/geosolutions_it <http://twitter.com/geosolutions_it>
>> 
>> -------------------------------------------------------
>> 
>> AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
>> 
>> 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.
>> 
>>  
>> 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.
>> 
>> ---------------------------------------------------------------------
>> 
>> 
>> On Tue, Mar 14, 2017 at 1:47 PM, Toni Schönbuchner <toni.schoenbuchner at csgis.de <mailto:toni.schoenbuchner at csgis.de>> wrote:
>> Hi,
>> 
>> I´ve tested this on a fresh 2.4 installation from repository and apt on Ubuntu 14.04.
>> (Unfortunately I cannot login to demo.geonode.org <http://demo.geonode.org/> to show this behavior)
>> 
>> - On a fresh installation I´ve installed Demo Layers with Paver
>> - Next created a map with three layers
>> - One of those layers has download permission set to registered users only
>> 
>> Now, when an unregistered User downloads the map data a notice appears
>> that one layer cannot be downloaded due to permissions (correct so far) BUT 
>> the zip contains this layer regardless of it´s download permissions.
>> 
>> Is this a known Bug? If not I would open an issue on github.
>> 
>> cheers,
>> 
>> Toni
>> 
>> _______________________________________________
>> geonode-users mailing list
>> geonode-users at lists.osgeo.org <mailto:geonode-users at lists.osgeo.org>
>> https://lists.osgeo.org/mailman/listinfo/geonode-users <https://lists.osgeo.org/mailman/listinfo/geonode-users>
>> 
>> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170314/1aec40b1/attachment.html>


More information about the geonode-users mailing list