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

Carmine Massarelli carmine.massarelli at ba.irsa.cnr.it
Wed Mar 2 05:51:47 PST 2016


dear,
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).
Thanks

Carmine

Il 03/01/2016 04:44 PM, geonode-users-request at lists.osgeo.org ha scritto:
> Send geonode-users mailing list submissions to
> 	geonode-users at lists.osgeo.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.osgeo.org/mailman/listinfo/geonode-users
> or, via email, send a message with subject or body 'help' to
> 	geonode-users-request at lists.osgeo.org
>
> You can reach the person managing the list at
> 	geonode-users-owner at lists.osgeo.org
>
> 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 <pcorti at gmail.com>
> To: Carmine Massarelli <carmine.massarelli at ba.irsa.cnr.it>
> Cc: "geonode-users at lists.osgeo.org" <geonode-users at lists.osgeo.org>
> Subject: Re: [GeoNode-users] importing private layer creates a public
> 	layer
> Message-ID:
> 	<CAHXrU-Lf5cJi_YpzGPzejzE_yQn9QhJqVd-jhp2p4K3Pf9cy7w at mail.gmail.com>
> 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 <
> carmine.massarelli at ba.irsa.cnr.it> wrote:
>
>> 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:
>> 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>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>
>>> 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>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/20160302/e98160ef/attachment-0001.html>


More information about the geonode-users mailing list