<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    thanks again for your reply.<br>
    Permission "maps | map | can add map" has never been granted to a
    user or a group.<br>
    I left the default permissions with Django permission system having
    chosen them only during the layer upload or when creating maps from
    the page form.<br>
    However, the permissions appear to be ok.<br>
    it seems that the creation of new maps make all  layers public (i am
    testing it with a test user).<br>
    have I just  to remove the button create map?<br>
    <br>
    Thanks<br>
    <br>
    Carmine<br>
    <br>
    <br>
    <div class="moz-cite-prefix">Il 03/01/2016 03:59 PM, Paolo Corti ha
      scritto:<br>
    </div>
    <blockquote
cite="mid:CAHXrU-Lf5cJi_YpzGPzejzE_yQn9QhJqVd-jhp2p4K3Pf9cy7w@mail.gmail.com"
      type="cite">
      <div dir="ltr">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
        <div>You will also need to customize the template in order to
          disable this feature from the user interface<br>
          <div>p</div>
        </div>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Tue, Mar 1, 2016 at 3:46 AM,
            Carmine Massarelli <span dir="ltr"><<a
                moz-do-not-send="true"
                href="mailto:carmine.massarelli@ba.irsa.cnr.it"
                target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:carmine.massarelli@ba.irsa.cnr.it">carmine.massarelli@ba.irsa.cnr.it</a></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="Ubuntu">Yes to all,<br>
                  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).<br>
                  I use geonode version 2.4b25 on Ubuntu server 14.04.<br>
                  I am opening a ticket on github.<br>
                  Is it possible (at the moment) to prevent other user
                  to create map?<br>
                  Thanks<span><font color="#888888"><br>
                      <br>
                      Carmine<br>
                    </font></span></font>
                <div>
                  <div><br>
                    <div>Il 02/29/2016 09:30 PM, Paolo Corti ha scritto:<br>
                    </div>
                    <blockquote type="cite">
                      <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
                            moz-do-not-send="true"
                            href="https://github.com/GeoNode/geonode/issues/2085"
                            target="_blank"><a class="moz-txt-link-freetext" href="https://github.com/GeoNode/geonode/issues/2085">https://github.com/GeoNode/geonode/issues/2085</a></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 moz-do-not-send="true"
                                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
                                      moz-do-not-send="true"
href="https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L405"
                                      target="_blank"><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></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
                                          moz-do-not-send="true"
                                          href="mailto:carmine.massarelli@ba.irsa.cnr.it"
                                          target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:carmine.massarelli@ba.irsa.cnr.it">carmine.massarelli@ba.irsa.cnr.it</a></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 moz-do-not-send="true"
                                          href="mailto:geonode-users@lists.osgeo.org"
                                          target="_blank">geonode-users@lists.osgeo.org</a><br>
                                        <a moz-do-not-send="true"
                                          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="nowrap" valign="top"
                                          width="16"><br>
                                        </td>
                                        <td align="left" nowrap="nowrap"
                                          valign="top" width="354"><br>
                                        </td>
                                      </tr>
                                    </tbody>
                                  </table>
                                </div>
                              </div>
                              <br>
_______________________________________________<br>
                              geonode-users mailing list<br>
                              <a moz-do-not-send="true"
                                href="mailto:geonode-users@lists.osgeo.org"
                                target="_blank">geonode-users@lists.osgeo.org</a><br>
                              <a moz-do-not-send="true"
                                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 moz-do-not-send="true"
                              href="http://www.paolocorti.net"
                              target="_blank">http://www.paolocorti.net</a><br>
                            twitter: @capooti<br>
                            skype: capooti</div>
                        </div>
                      </div>
                    </blockquote>
                    <br>
                    <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="nowrap" valign="top" width="16"><br>
                            </td>
                            <td align="left" nowrap="nowrap"
                              valign="top" width="354"><br>
                            </td>
                          </tr>
                        </tbody>
                      </table>
                    </div>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
          <br>
          <br clear="all">
          <div><br>
          </div>
          -- <br>
          <div>Paolo Corti<br>
            Geospatial software developer<br>
            web: <a moz-do-not-send="true"
              href="http://www.paolocorti.net" target="_blank">http://www.paolocorti.net</a><br>
            twitter: @capooti<br>
            skype: capooti</div>
        </div>
      </div>
    </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>