[GeoNode-users] importing private layer creates a public layer
pcorti at gmail.com
Tue Mar 1 09:18:52 PST 2016
I suggested that, in order to accomplish your requirements "Is it
possible (at the moment) to prevent other user to create map?".
Not sure why you are experiencing this "it seems that the creation of
new maps make all layers public", I have just tested on the demo site
and it works correctly.
The only thing I see, is that the first time the map is loaded the
layer checkbox is there, though it cannot be checked and displayed (it
disappears as soon as you click on it). It would be worth to report as
On Tue, Mar 1, 2016 at 10:45 AM, Carmine Massarelli
<carmine.massarelli at ba.irsa.cnr.it> wrote:
> thanks again for your reply.
> Permission "maps | map | can add map" has never been granted to a user or a
> 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?
> 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
> 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?
>> 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"
>> * 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:
>> On Mon, Feb 29, 2016 at 1:44 PM, Carmine Massarelli
>> <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
>>> 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
>>> Hope it helps
>>> 2016-02-28 0:05 GMT+01:00 Carmine Massarelli
>>> <carmine.massarelli at ba.irsa.cnr.it>:
>>>> 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?
>>>> geonode-users mailing list
>>>> geonode-users at lists.osgeo.org
>>> geonode-users mailing list
>>> geonode-users at lists.osgeo.org
>> 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
Geospatial software developer
More information about the geonode-users