<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Ubuntu">dear, <br>
      upgrading the OS and Geonode to stable version everything works
      fine (I have just to recreate the maps and styles, but the bug is
      fixed).<br>
      Thanks<br>
      <br>
      Carmine<br>
    </font><br>
    <div class="moz-cite-prefix">Il 03/01/2016 04:44 PM,
      <a class="moz-txt-link-abbreviated" href="mailto:geonode-users-request@lists.osgeo.org">geonode-users-request@lists.osgeo.org</a> ha scritto:<br>
    </div>
    <blockquote
      cite="mid:mailman.3830.1456847065.8245.geonode-users@lists.osgeo.org"
      type="cite">
      <pre wrap="">Send geonode-users mailing list submissions to
        <a class="moz-txt-link-abbreviated" href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a>

To subscribe or unsubscribe via the World Wide Web, visit
        <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/geonode-users">http://lists.osgeo.org/mailman/listinfo/geonode-users</a>
or, via email, send a message with subject or body 'help' to
        <a class="moz-txt-link-abbreviated" href="mailto:geonode-users-request@lists.osgeo.org">geonode-users-request@lists.osgeo.org</a>

You can reach the person managing the list at
        <a class="moz-txt-link-abbreviated" href="mailto:geonode-users-owner@lists.osgeo.org">geonode-users-owner@lists.osgeo.org</a>

When replying, please edit your Subject line so it is more specific
than "Re: Contents of geonode-users digest..."


Today's Topics:

   1. Re: importing private layer creates a public layer (Paolo Corti)
   2. Re: importing private layer creates a public layer
      (Carmine Massarelli)


----------------------------------------------------------------------

Message: 1
Date: Tue, 1 Mar 2016 09:59:11 -0500
From: Paolo Corti <a class="moz-txt-link-rfc2396E" href="mailto:pcorti@gmail.com"><pcorti@gmail.com></a>
To: Carmine Massarelli <a class="moz-txt-link-rfc2396E" href="mailto:carmine.massarelli@ba.irsa.cnr.it"><carmine.massarelli@ba.irsa.cnr.it></a>
Cc: <a class="moz-txt-link-rfc2396E" href="mailto:geonode-users@lists.osgeo.org">"geonode-users@lists.osgeo.org"</a> <a class="moz-txt-link-rfc2396E" href="mailto:geonode-users@lists.osgeo.org"><geonode-users@lists.osgeo.org></a>
Subject: Re: [GeoNode-users] importing private layer creates a public
        layer
Message-ID:
        <a class="moz-txt-link-rfc2396E" href="mailto:CAHXrU-Lf5cJi_YpzGPzejzE_yQn9QhJqVd-jhp2p4K3Pf9cy7w@mail.gmail.com"><CAHXrU-Lf5cJi_YpzGPzejzE_yQn9QhJqVd-jhp2p4K3Pf9cy7w@mail.gmail.com></a>
Content-Type: text/plain; charset="utf-8"

I think you could use the general Django permission systems, and remove the
"maps | map | can add map" permission from a user or a group of user
You will also need to customize the template in order to disable this
feature from the user interface
p

On Tue, Mar 1, 2016 at 3:46 AM, Carmine Massarelli <
<a class="moz-txt-link-abbreviated" href="mailto:carmine.massarelli@ba.irsa.cnr.it">carmine.massarelli@ba.irsa.cnr.it</a>> wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">Yes to all,
in addiction I report that if I try to print the layer with the print tool
the layer disappear (as it should be for a protected layer).
I use geonode version 2.4b25 on Ubuntu server 14.04.
I am opening a ticket on github.
Is it possible (at the moment) to prevent other user to create map?
Thanks

Carmine

Il 02/29/2016 09:30 PM, Paolo Corti ha scritto:

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:
<a class="moz-txt-link-freetext" href="https://github.com/GeoNode/geonode/issues/2085">https://github.com/GeoNode/geonode/issues/2085</a>

best
p


On Mon, Feb 29, 2016 at 1:44 PM, Carmine Massarelli <
<a class="moz-txt-link-rfc2396E" href="mailto:carmine.massarelli@ba.irsa.cnr.it"><carmine.massarelli@ba.irsa.cnr.it></a><a class="moz-txt-link-abbreviated" href="mailto:carmine.massarelli@ba.irsa.cnr.it">carmine.massarelli@ba.irsa.cnr.it</a>>
wrote:

</pre>
        <blockquote type="cite">
          <pre wrap="">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
<a class="moz-txt-link-rfc2396E" href="https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L405"><https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L405></a>
<a class="moz-txt-link-freetext" href="https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L405">https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L405</a>

Hope it helps

2016-02-28 0:05 GMT+01:00 Carmine Massarelli <
<a class="moz-txt-link-rfc2396E" href="mailto:carmine.massarelli@ba.irsa.cnr.it"><carmine.massarelli@ba.irsa.cnr.it></a><a class="moz-txt-link-abbreviated" href="mailto:carmine.massarelli@ba.irsa.cnr.it">carmine.massarelli@ba.irsa.cnr.it</a>>:

</pre>
          <blockquote type="cite">
            <pre wrap="">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
<a class="moz-txt-link-abbreviated" href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/geonode-users">http://lists.osgeo.org/mailman/listinfo/geonode-users</a>

</pre>
          </blockquote>
          <pre wrap="">


--
Simone




_______________________________________________
geonode-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/geonode-users">http://lists.osgeo.org/mailman/listinfo/geonode-users</a>


</pre>
        </blockquote>
        <pre wrap="">

--
Paolo Corti
Geospatial software developer
web: <a class="moz-txt-link-freetext" href="http://www.paolocorti.net">http://www.paolocorti.net</a>
twitter: @capooti
skype: capooti





</pre>
      </blockquote>
      <pre wrap="">

</pre>
    </blockquote>
    <div class="moz-signature">
      <table style="border-collapse: separate!important; table-layout:
        fixed;" border="0" cellpadding="0" cellspacing="0" width="450">
        <tbody>
          <tr>
            <td class="spacer-td" style="border-left: 6px solid rgb(71,
              124, 204);" align="left" nowrap="nowrap" valign="top"
              width="16"><br>
            </td>
            <td class="content-td" align="left" nowrap="nowrap"
              valign="top" width="354"><br>
            </td>
            <!--</tr>--> </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>