[GeoNode-users] Remove ability to Explore People from geonode

Adam Lawrence alaw005 at gmail.com
Wed Mar 15 17:01:18 PDT 2017


Hi Jonathan,

Thank you, I like the solution. I suppose it wouldn't be too hard to check
user type and restrict list to admin users only.

Taking this a bit further-  I wonder if it would be possible to have some
configurable permissions, for example:

   - Users can view all groups and other users
   - Users can view all groups and other users for only those groups they
   are members of
   - Users can view all groups and no other users
   - Admin/staff users would be able to view all groups and users.

Regards
Adam



On 14 March 2017 at 14:34, Jonathan Doig <j.doig at unsw.edu.au> wrote:

> 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/41fc806c22f12b6974216d68bd9229
> 324d4bf0b9
>
>
>
> https://github.com/UNSW-CFRC/geonode/commit/d80d2e8e7d567333d3addc7fccf675
> ab735e9f86
>
>
>
> 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>
> 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>:
>
> 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
> 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/20170316/4849f66e/attachment.html>


More information about the geonode-users mailing list