<div dir="ltr">If I understand correctly:<div><br></div><div>* you set a layer as not being downloadable using the "Set permissions" form in the layer page</div><div>* the layer details page correctly does not display the "Download layer" button</div><div>* clicking on the "Download map" button in the map details page you will get that layer in the download zip file</div><div><br></div><div>If confirmed, it is a bug, so please file a ticket in github.</div><div><br></div><div>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: <a href="https://github.com/GeoNode/geonode/issues/2085" target="_blank">https://github.com/GeoNode/geonode/issues/2085</a></div><div><br></div><div>best</div><div>p</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 29, 2016 at 1:44 PM, Carmine Massarelli <span dir="ltr"><<a href="mailto:carmine.massarelli@ba.irsa.cnr.it" target="_blank">carmine.massarelli@ba.irsa.cnr.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<font face="Arial">thanks for the reply but unfortunately does not
solve the problem.<br>
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?<br>
Thank you<br>
<br>
Carmine<br>
</font><br>
<div>Il 28/02/2016 08:45, Simone Dalmasso ha
scritto:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi, you can set whether a new layer is public or
not by changing those two settings here <a href="https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L405" target="_blank">https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L405</a>
<div><br>
</div>
<div>Hope it helps</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2016-02-28 0:05 GMT+01:00 Carmine
Massarelli <span dir="ltr"><<a href="mailto:carmine.massarelli@ba.irsa.cnr.it" target="_blank">carmine.massarelli@ba.irsa.cnr.it</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear,<br>
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?<br>
Regards<br>
<br>
Carmine<br>
<br>
<br>
_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
</blockquote>
</div>
<br>
<br clear="all"><span><font color="#888888">
<div><br>
</div>
-- <br>
<div>Simone </div>
</font></span></div>
</blockquote>
<div>
<table style="border-collapse:separate!important;table-layout:fixed" border="0" cellpadding="0" cellspacing="0" width="450">
<tbody>
<tr>
<td style="border-left:6px solid rgb(71,124,204)" align="left" nowrap valign="top" width="16"><br>
</td>
<td align="left" nowrap valign="top" width="354"><br>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br>_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Paolo Corti<br>Geospatial software developer<br>web: <a href="http://www.paolocorti.net" target="_blank">http://www.paolocorti.net</a><br>twitter: @capooti<br>skype: capooti</div>
</div></div>