[GeoNode-devel] geonode REST role service - Adminstrator role dropdown empty

Peter Marlow Peter.Marlow at scisys.co.uk
Wed Dec 20 02:32:40 PST 2017


Hi Alessio,

Thanks for the reply!

It looks like the /api endpoint on my geonode is accessible at http://localhost/ and not at http://localhost:8000/. Is this a problem?

I’ve configured the base URL of the Role Service to be just http://localhost/ but I still don’t see the ROLE_ADMIN user in the dropdowns.

GeoNode has a superuser configured with the username ‘admin’, it doesn’t have any groups though, do I need to create a group?

If I open up port 8000 in my apache2 config how would I go about changing the GeoNode api to be on port 8000? (is that actually necessary?)

Thanks,
Pete

From: Alessio Fabiani [mailto:alessio.fabiani at geo-solutions.it]
Sent: 20 December 2017 09:18
To: Peter Marlow
Cc: geonode-devel at lists.osgeo.org
Subject: Re: [GeoNode-devel] geonode REST role service - Adminstrator role dropdown empty

Hi,
the roles are taken from GeoNode.

You need to be sure that:

1. GeoServer can reach GeoNode
2. the base url of the role service is correctly pointing to GeoNode
3. GeoNode has either an admin user configured and groups

If still not working you can try to do some curl requests to GeoNode and see if it is correctly responding.

curl -X GET "http://localhost:8000/api/roles"




Regards,

Alessio Fabiani

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
==

Ing. Alessio Fabiani

@alfa7691
Founder/Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility  for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

On Tue, Dec 19, 2017 at 6:14 PM, Peter Marlow <Peter.Marlow at scisys.co.uk<mailto:Peter.Marlow at scisys.co.uk>> wrote:
Hi all,

I’m configuring geonode/geoserver security using the tutorial here - http://docs.geonode.org/en/master/tutorials/admin/geoserver_geonode_security/

The problem I have is that when I create the ‘geonode REST role service’ both the ‘Administrator role’ and ‘Group administrator role’ dropdowns are empty – the tutorial suggests they should contain the value ROLE_ADMIN.

Any ideas where this ROLE_ADMIN should be configured in order to make it available in the dropdowns?

GEOSERVER VERSION – 2.12-SNAPSHOT
GEONODE VERSION – 2.6.3

Thanks,
Pete



SCISYS UK Limited. Registered in England and Wales No. 4373530.
Registered Office: Methuen Park, Chippenham, Wiltshire SN14 0GB, UK.

Before printing, please think about the environment.

_______________________________________________
geonode-devel mailing list
geonode-devel at lists.osgeo.org<mailto:geonode-devel at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/geonode-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20171220/4ebb0fea/attachment-0001.html>


More information about the geonode-devel mailing list