[GeoNode-users] Remove ability to Explore People from geonode
Jonathan Doig
j.doig at unsw.edu.au
Mon Mar 13 18:34:39 PDT 2017
Hi Adam
I had the same requirement and did it a different way. Logged in users can explore People and Groups.
Anonymous users still see the menu item but get a message to login.
https://github.com/UNSW-CFRC/geonode/commit/41fc806c22f12b6974216d68bd9229324d4bf0b9
https://github.com/UNSW-CFRC/geonode/commit/d80d2e8e7d567333d3addc7fccf675ab735e9f86
Note I haven’t bothered to extend this to other languages with Geonode’s support for that.
Regards
Jonathan
From: geonode-users [mailto:geonode-users-bounces at lists.osgeo.org] On Behalf Of Adam Lawrence
Sent: Saturday, 11 March 2017 8:53 PM
To: Simone Dalmasso <simone.dalmasso at gmail.com>
Cc: geonode-users at lists.osgeo.org
Subject: Re: [GeoNode-users] Remove ability to Explore People from geonode
Thank you. My next question was going to be where do I find these files, but as result of answers to another query I have found that the geonode files are in the /usr/local/lib/python2.7/dist-packages/geonode folder. Thank you for the help.
On 10 March 2017 at 21:58, Simone Dalmasso <simone.dalmasso at gmail.com<mailto:simone.dalmasso at gmail.com>> wrote:
You have to modify the geonode templates to do that, the "base.html" removing the entry in the menu bar. If to be 100% sure that no one can access it you also have to remove this line https://github.com/GeoNode/geonode/blob/master/geonode/urls.py#L82
2017-03-10 5:19 GMT+01:00 Adam Lawrence <alaw005 at gmail.com<mailto:alaw005 at gmail.com>>:
Hi,
I have installed geonode in ubuntu using the GeoNode PPA repository. I have it working but want to remove ability to "Explore People" under the People menu. I basically don't want to make public the list of usernames. It seems this should be a configuration setting but I can't locate any. Please can someone advise how to do this?
Regards
Adam
_______________________________________________
geonode-users mailing list
geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/geonode-users
--
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170314/c75dbb44/attachment.html>
More information about the geonode-users
mailing list