Skip to content

GNIP 8 Groups and Group Permissions

jj0hns0n edited this page Jan 10, 2012 · 6 revisions

GNIP 8 - Groups and Group Permissions

Overview

It is desirable to add a set of features related to Groups of users to GeoNode core (GeoNodePy module).

In particular groups should be able to be used to assign permissions to data layers, maps, collections of data and maps and other model classes as necessary. Additionally groups should be able to aggregate users together for 'social' purposes (announcements, notifications, updates etc).

These features have long been discussed and wireframes developed.

http://dev.geonode.org/trac/wiki/Groups

Initial work on these features has been done by Eldarion in the following branches (and other branches in their fork).

Proposed By

Jeffrey Johnson

Assigned to Release

TBD

State

For Review and Comment

Motivation

At the 2011 GeoNode summit, several core stakeholders expressed interest in this set of features. The ANZSM project (http://spatialmarketplace.net.au/about/) has specific requirements for these features and has funded development of these features.

Proposal

Add a new GeoNodePy module geonode.people (or geonode.groups) should be developed to contain models.py, views.py, forms.py and admin.py and the template additions and modifications necessary to implement this functionality.

Development under this GNIP could/should potentially harmonize with work that has been done by Eric Brehault in the groupsecurity branch. https://github.com/jj0hns0n/geonode/tree/groupsecurity

Development will also need to make use of the geonode.core module (See GNIP 20 about renaming this module to geonode.security) as GeoNode's existing Custom Django Auth Backend.

Issues

Migrations (See GNIP 19)

Harmonization of existing geonode.core (existing security and Django Auth Backend) with django.contrib.groups and the newly developed work in Eldarion's feature-groups branch may take some concerted effort from several parties.

Testing

Tests that verify the use of group permissions on and maps are essential and required, other tests for groups and the provided functionality will be very desirable.

Alternatives

Do nothing. Currently users cannot assign permissions for layers and maps to groups (only to individual users).

Feedback

See discussion on the geonode-dev list here.

https://groups.google.com/a/opengeo.org/group/geonode-dev/browse_thread/thread/fba0ce899888363f

Voting

Clone this wiki locally