#532: New members should be added to a default group
--------------------------+-------------------------------------------------
Reporter: landry | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: major | Milestone: v2.6.5
Component: General | Version: v2.6.0
Keywords: ldap, groups |
--------------------------+-------------------------------------------------
This is for GN 2.6.0, but i suppose it's still an issue in trunk.
I have my users stored in LDAP, so GN doesn't know them if they never
connected. So the first time they connect to GN and their user is created
in GN, they don't belong to any group, and the admin (me) needs to add
them to a group so that they can post a metadata.
So there should be the possibility to set a 'default group' where all new
users are when they connect.. or there should be the possibility to
set/retrieve the group name (or group id) in a LDAP attr, as it's done for
the profile.
So far, my workaround is to add them to the default group in my system
through cron and a sql req like 'insert into usergroups(userid,groupid)
select id as userid, 2 as groupid from users left join usergroups on
usergroups.userid=users.id where userid is null;'
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/532>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.