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

Simone Dalmasso simone.dalmasso at gmail.com
Tue Mar 14 05:56:54 PDT 2017


Toni, could you please mark it as a bug in github? It seems that the code
for map download remaind to the old permissions version where download was
not existing. It is in fact checking for "view"
https://github.com/GeoNode/geonode/blob/2.6.x/geonode/maps/views.py#L700

Do you want to make a PR? :)

2017-03-14 13:47 GMT+01:00 Toni Schönbuchner <toni.schoenbuchner at csgis.de>:

> 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 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
> https://lists.osgeo.org/mailman/listinfo/geonode-users
>
>


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


More information about the geonode-users mailing list