Auto-assign e-person to a group upon registration

271 views
Skip to first unread message

admin

unread,
Mar 15, 2017, 8:14:36 PM3/15/17
to DSpace Technical Support
Hi,


I thought it's a simple task, but apparently not – is there any simple way to allow self-registering users being automatically assigned to specific group? I don't use LDAP authentication, I found some posts about using LDAP and auto-assignnement.


Thanks,

Peter

Claudia Jürgen

unread,
Mar 16, 2017, 3:44:00 AM3/16/17
to dspac...@googlegroups.com
Hello Peter,

for users who login with password you can set:
https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace/config/modules/authentication-password.cfg#L25
to a special group, they'll automatically belong to.

Hope this helps

Claudia Jürgen
--
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
claudia...@tu-dortmund.de
www.ub.tu-dortmund.de

Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen Schriftstücks per Telefax erfolgen.

Important note: The information included in this e-mail is confidential. It is solely intended for the recipient. If you are not the intended recipient of this e-mail please contact the sender and delete this message. Thank you. Without prejudice of e-mail correspondence, our statements are only legally binding when they are made in the conventional written form (with personal signature) or when such documents are sent by fax.

Mark Wood

unread,
Mar 16, 2017, 8:58:59 AM3/16/17
to DSpace Technical Support
But please note that "special groups" are assigned to *user sessions*, not to epersons.  Special group membership lasts until logout and is not recorded anywhere.  If you need for a new account to be permanently a member of a group, so that this membership affects what others do, a special group won't serve, and you'll have to manually assign permanent group membership.  We probably should have called them "session roles" rather than "special groups" since there is nothing special about the group.

One thing that isn't affected by special group membership is actions based on group membership which take place outside of a member's session, such as the emails that are sent to members of an editorial group during submission workflow.

If a user only needs group membership within the scope of his own sessions, then special groups should serve well.

admin

unread,
Mar 16, 2017, 12:40:17 PM3/16/17
to DSpace Technical Support
Thank you,


the special groups setting is perfectly fine for me, I have just tested it.



Peter

amgc...@gmail.com

unread,
Mar 19, 2017, 5:41:10 AM3/19/17
to DSpace Technical Support
Hi all,

Mark many thanks for the extra info on special groups. I assumed that this meant direct allocation to a dspace group.

Is there then a quick way of finding out about all the self-registered users? We are thinking on enabling self-registration in our repository but we need to easily track down who registers so that we can perform additional checks and verifications.

Kind regards,
Agustina

Claudia Jürgen

unread,
Mar 20, 2017, 4:40:45 AM3/20/17
to dspac...@googlegroups.com
Hello Augustina,

there is a boolean self_registered in the eperson table.

Furthermore there is :
mail.registration.notify (5.x)
https://github.com/DSpace/DSpace/blob/dspace-5_x/build.properties#L124
registration.notify (6.x)
https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace/config/local.cfg.EXAMPLE#L140

You may be notified about new registrations.

Hope this helps

Claudia Jürgen



amgc...@gmail.com

unread,
Mar 20, 2017, 11:07:23 AM3/20/17
to DSpace Technical Support
Claudia it does help indeed!

Many thanks for the information,

Agustina

Vahe Ghorghorian

unread,
Feb 19, 2024, 1:55:11 AM2/19/24
to DSpace Technical Support
how can we do this in Dspace 7 where is the login.specialgroup found ?
Reply all
Reply to author
Forward
0 new messages