[GeoNode-users] importing private layer creates a public layer

Paolo Corti pcorti at gmail.com
Mon Feb 29 12:30:57 PST 2016


If I understand correctly:

* you set a layer as not being downloadable using the "Set permissions"
form in the layer page
* the layer details page correctly does not display the "Download layer"
button
* clicking on the "Download map" button in the map details page you will
get that layer in the download zip file

If confirmed, it is a bug, so please file a ticket in github.

Having said so, please consider that even after fixing the bug (pretty easy
in this case) at this time the layer download permissions are honored only
by the GeoNode Django interface, and not by GeoServer:
https://github.com/GeoNode/geonode/issues/2085

best
p


On Mon, Feb 29, 2016 at 1:44 PM, Carmine Massarelli <
carmine.massarelli at ba.irsa.cnr.it> wrote:

> thanks for the reply but unfortunately does not solve the problem.
> The layer is set only in display mode but if a user creates a map with
> this layer and clicks on the map download he can download the layer zip
> file. I made ​​only changes in settings.py about allowed hosts, the user
> belongs to a group. In a WM duplicate of the platform I get a warning that
> says that you can not download the layer for safety reasons, while in the
> published version on the web there is no such notice. What could be related?
> Thank you
>
> Carmine
>
> Il 28/02/2016 08:45, Simone Dalmasso ha scritto:
>
> Hi, you can set whether a new layer is public or not by changing those two
> settings here
> https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L405
>
> Hope it helps
>
> 2016-02-28 0:05 GMT+01:00 Carmine Massarelli <
> carmine.massarelli at ba.irsa.cnr.it>:
>
>> Dear,
>> how can I avoid this: when I upload a private layer (no edit and no
>> download permitted, only view and query) another user is able to download
>> it by creating a new public map with this layer. Is there a way to prevent
>> other users from creating maps or downloading private layer if imported in
>> other maps?
>> Regards
>>
>> Carmine
>>
>>
>> _______________________________________________
>> geonode-users mailing list
>> geonode-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/geonode-users
>>
>
>
>
> --
> Simone
>
>
>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>
>


-- 
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160229/4dc70962/attachment.html>


More information about the geonode-users mailing list