[GeoNode-users] Layers and Grants

Simone Dalmasso simone.dalmasso at gmail.com
Fri Jan 29 01:56:45 PST 2016


If you add layers to geoserver and then run updatelayers then the owner is
admin, correctly.

Go to the admin panel and pick one of the "cascaded" layers, down in the
menu there is a field name "StoreType" check what is the content of that. I
suspect that is not among the ones that get considered for counting,

2016-01-29 8:09 GMT+01:00 David Alda Fernandez de Lezea <dalda at hazi.eus>:

> Hi,
>
> the thing is that whenever I add a layer to GeoServer (it doesn't matter
> If the user is staff or super-user or both) the owner of the layer is the
> "admin" (the one that has both super-user and staff checks activated) I
> don't know if this has something to do with it.
>
> The layers are taken from a WMS cascaded service.
>
> I've just added a shape through the upload layers form and it appears as
> counted.
>
> Regards,
>
> Agur bero bat,
>
>
>
> David Alda Fernández de Lezea
> Área de Sistemas de Información Geográfica, Planificación Territorial y
> Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren
> Arloa.
> dalda at hazi.eus | www.hazi.eus
> T 945 003 240 – M 627 923 170 – F 945 003 290
> Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute – Araba
>
> *********************  LEGE OHARRA   *******************   AVISOLEGAL
> *******************   DISCLAIMER   *****************************
> Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera
> debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta
> kontserbatu gabe.
> Este mensaje es personal y confidencial y su uso no autorizado está
> prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo,
> sin reenviarlo ni conservarlo.
> This message is personal and confidential, unauthorised use is legally
> prohibited. If you are not the intended recipient, delete it without
> resending or backing it.
>
> De: Simone Dalmasso [mailto:simone.dalmasso at gmail.com]
> Enviado el: jueves, 28 de enero de 2016 13:37
> Para: David Alda Fernandez de Lezea
> CC: geonode-users at lists.osgeo.org
> Asunto: Re: [GeoNode-users] Layers and Grants
>
> Hi, no the admin is not useful for this, if they show up in the layers
> list page then they should also be counted.
> Could you check which is the StoreType of those layers? The homepage
> counts consider 'coverageStore', 'dataStore', 'remoteStore'.
>
>
> For the difference between staff and superuser, staff is for allowing the
> access to admin page while the superuser also has all the permissions over
> the whole site.
>
> 2016-01-28 11:53 GMT+01:00 David Alda Fernandez de Lezea <dalda at hazi.eus>:
> Maybe changing some grants in the admin interface should solve the problem?
>
> I've noticed that all the layers' owner is the admin that created the
> layers..
>
> By the way which are the differences between being staff and superuser?
>
>
> Agur bero bat,
>
>
> David Alda Fernández de Lezea
> Área de Sistemas de Información Geográfica, Planificación Territorial y
> Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren
> Arloa.
> dalda at hazi.eus | www.hazi.eus
> T 945 003 240 – M 627 923 170 – F 945 003 290
> Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute – Araba
>
> *********************  LEGE OHARRA   *******************   AVISOLEGAL
> *******************   DISCLAIMER   *****************************
> Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera
> debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta
> kontserbatu gabe.
> Este mensaje es personal y confidencial y su uso no autorizado está
> prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo,
> sin reenviarlo ni conservarlo.
> This message is personal and confidential, unauthorised use is legally
> prohibited. If you are not the intended recipient, delete it without
> resending or backing it.
>
>
> -----Mensaje original-----
> De: geonode-users [mailto:geonode-users-bounces at lists.osgeo.org] En
> nombre de David Alda Fernandez de Lezea
> Enviado el: jueves, 28 de enero de 2016 10:19
> Para: Simone Dalmasso
> CC: geonode-users at lists.osgeo.org
> Asunto: Re: [GeoNode-users] Layers and Grants
>
> Hi,
>
> No matter with which user I'm logged in , it doesn't count any layer. Even
> if I'm unlogged.
>
> Only a user with admin grants can add data directly into GeoServer so I
> suppose the correct way is to use that user..
>
> Or perhaps it has to be a current user with admin grants??
>
> Regards,
>
> Agur bero bat,
>
>
>
> David Alda Fernández de Lezea
> Área de Sistemas de Información Geográfica, Planificación Territorial y
> Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren
> Arloa.
> dalda at hazi.eus | www.hazi.eus
> T 945 003 240 – M 627 923 170 – F 945 003 290 Hazi | Granja Modelo de
> Arkaute s/n | 01192 Arkaute – Araba
>
> *********************  LEGE OHARRA   *******************   AVISOLEGAL
> *******************   DISCLAIMER   ***************************** Mezu hau
> pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago
> legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
> Este mensaje es personal y confidencial y su uso no autorizado está
> prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo,
> sin reenviarlo ni conservarlo.
> This message is personal and confidential, unauthorised use is legally
> prohibited. If you are not the intended recipient, delete it without
> resending or backing it.
>
> De: Simone Dalmasso [mailto:simone.dalmasso at gmail.com]
> Enviado el: jueves, 28 de enero de 2016 10:09
> Para: David Alda Fernandez de Lezea
> CC: geonode-users at lists.osgeo.org
> Asunto: Re: [GeoNode-users] Layers and Grants
>
> Hi, strange behavior indeed.
>
> Are you always logged in when visiting the two pages?
>
>
>
> Il giovedì 28 gennaio 2016, David Alda Fernandez de Lezea <dalda at hazi.eus>
> ha scritto:
> Hi,
>
> I have question/doubt.. In my GeoNode installation I have several normal
> users and one Admin user. With the admin user I've loaded several cascaded
> WMS's into Geoserver and published several layers as well. I execute
> geonode update layers to synchronize and it goes OK. But when I visit
> geonode's main web page it appears (0 layers, 0 maps, 12 users). There're
> no maps, I know that because we're still at an initial phase, but 0 layers?
> The thing is that if I go into the layers page I can see the layer list
> that I already loaded. Is this something related to the user that used to
> load the layers? Maybe this is a normal behavior?
>
> Any ideas?
>
> Thanks in advance,
>
> Regards,
>
> Agur bero bat,
>
>
> David Alda Fernández de Lezea
> Área de Sistemas de Información Geográfica, Planificación Territorial y
> Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren
> Arloa.
> dalda at hazi.eus | www.hazi.eus
> T 945 003 240 - M 627 923 170 - F 945 003 290 Hazi | Granja Modelo de
> Arkaute s/n | 01192 Arkaute - Araba
>
> *********************  LEGE OHARRA   *******************   AVISOLEGAL
> *******************   DISCLAIMER   ***************************** Mezu hau
> pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago
> legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
> Este mensaje es personal y confidencial y su uso no autorizado está
> prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo,
> sin reenviarlo ni conservarlo.
> This message is personal and confidential, unauthorised use is legally
> prohibited. If you are not the intended recipient, delete it without
> resending or backing it.
>
> _______________________________________________
> 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
>
>
>
>
> --
> Simone
>



-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160129/6cbd2458/attachment.html>


More information about the geonode-users mailing list