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

Carmine Massarelli carmine.massarelli at ba.irsa.cnr.it
Tue Mar 1 07:45:49 PST 2016


thanks again for your reply.
Permission "maps | map | can add map" has never been granted to a user 
or a group.
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.
However, the permissions appear to be ok.
it seems that the creation of new maps make all  layers public (i am 
testing it with a test user).
have I just  to remove the button create map?

Thanks

Carmine


Il 03/01/2016 03:59 PM, Paolo Corti ha scritto:
> 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 
> <mailto: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
>>     <mailto: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
>>>         <mailto: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
>>>             <mailto: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
>>         <mailto: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
>
>
>     	
>
>
>
>
> -- 
> 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/20160301/b09ea0b0/attachment-0001.html>


More information about the geonode-users mailing list