EPrints Technical Mailing List Archive

Message: #08465

< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] [EXTERNAL] Re: ORCID integration

CAUTION: This e-mail originated outside the University of Southampton.
Hi Ranju, David,

Thanks for bringing these two issues to my attention. 

When first developing the plugin I think we decided that using the user type would be the easiest and most suitable approach to determining if a user's ORCID affiliation should be set in either the Education or Employment section of their user profile. Whether or not a user is a researcher or student isn't something is consistently definedi n EPrints, but based on what we saw a number of repositories using in practice, it seemed best to go with the user type field as the filter. If you need to change this however you  may be able to override the OrcidSync Event plugin so it uses different criteria (I think https://github.com/eprints/orcid_support_advance/blob/c938958c1f4f0f72f016a04b0962f180b8d79246/lib/plugins/EPrints/Plugin/Event/OrcidSync.pm#L33-L37 would be the bit that needs changing).

With regards to the Trusted Organisations entry not being removed when a user disconnects their repository account from their orcid.org profile, it looks like this is an oversight from the original plugin development. We'll try and get that resolved as soon as possible and get the change added to GitHub for people to review/use! 

Thanks again for alerting us to this and it's good to hear you are finding the plugin generally useful!

Many thanks,


Will Fyson
Development & Support Analyst, Research Technologies
CoSector, University of London
Senate House
Malet Street

t: +44 (0)20 7863 1341
e: will.fyson@cosector.com
w: https://cosector.com/digital-research/

The University of London is an exempt charity in England and Wales.

From: eprints-tech-bounces@ecs.soton.ac.uk <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of David R Newman via Eprints-tech <eprints-tech@ecs.soton.ac.uk>
Sent: 21 January 2021 12:56
To: Ranju Upadhyay <Ranju.Upadhyay@mu.ie>; eprints-tech@ecs.soton.ac.uk <eprints-tech@ecs.soton.ac.uk>
Cc: Fiona Morley <Fiona.Morley@mu.ie>; Suzanne Redmond Maloco <S.RedmondMaloco@mu.ie>
Subject: Re: [EP-tech] [EXTERNAL] Re: ORCID integration

Hi Ranju,

Only if you have different user types for staff and students in EPrints itself.  I am not a developer on this plugin, so I don't know why the choice to use user type to determine whether to set education of employment affiliation was made.  However, I think it is quite common for repositories to have different user types for staff and students, as you would typically want to greater restrict the permissions of students using EPrints.


David Newman

On 21/01/2021 12:48, Ranju Upadhyay wrote:
CAUTION: This e-mail originated outside the University of Southampton.
Thanks David.

One more issue with ORCID integration is about user's education affiliation.

Currently the only user types that I can set is "user", "Editors" and "Repository Administrators" when registering someone in eprints.There is no distinction between staff and student. #

Because of this if I enable user education affiliation in ORCID advanced plugin configuration and set a user type to be user, all users who connect from our repo to ORCID will have their education set as Maynooth University i.e. the following array

$c->{orcid_support_advance}->{education_user_types} = ["user"];

is there a way one could distinguish between staff and student?
Best Regards

Ranju Upadhyay Rai

Library Programmer

University Library


Ollscoil Mhá Nuad, Maigh Nuad, Co. Chill Dara, Éire, W23 VP22

Maynooth University, Maynooth, Co. Kildare, Ireland, W23 VP22

T: +353 1 708 3378  M: +353 87 98 43811

Ranju.Upadhyay@mu.ie W: www.maynoothuniversity.ie/library

All personal data received by the Library will be held safely and securely in compliance with the EU General Data Protection Regulation (GDPR) and the Data Protection Act (Ireland) 2018. The Library may retain personal data for operational, statistical and archival purposes. For further information please consult the University's Data Protection Policy: www.maynoothuniversity.ie/data-protection or contact the MU Data Protection Officer, at dataprotection@mu.ie.


An t-eolas pearsanta ar fad a fhaigheann an Leabharlann bíonn sé slán agus sabháilte faoina coimirce ar mhaithe le Rialachán Ginearálta maidir le Cosaint Sonraí an Aontais Eorpaigh agus leis an Acht um Chosaint Sonraí (Éire) 2018 a chomhlíonadh. D’fhéadfadh an Leabharlann eolas pearsanta a choimead ar chúiseanna oibríochta, staitistiúil agus cartlainne. Le haghaidh tuilleadh eolais, téigh i gcomhairle le Polasaí  na hOllscoile um Chosaint Sonraí: www.maynoothuniversity.ie/data-protection nó téigh i dteagmháil le hOifigeach Cosanta Sonraí na hOllscoile ag dataprotection@mu.ie.

From: David R Newman <drn@ecs.soton.ac.uk>
Sent: Thursday 21 January 2021 12:15
To: eprints-tech@ecs.soton.ac.uk <eprints-tech@ecs.soton.ac.uk>; Ranju Upadhyay <Ranju.Upadhyay@mu.ie>
Cc: Fiona Morley <Fiona.Morley@mu.ie>; Suzanne Redmond Maloco <S.RedmondMaloco@mu.ie>
Subject: [EXTERNAL] Re: [EP-tech] ORCID integration


This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.

Hi Ranju,

I have raised this as an issue on the GitHub repository:


I am not sure if there is code in the ORCID Support Advance plugin that should be doing this or it is just a case that it is broken.  That would take further investigation and is why I have raised the GitHub issue.  However, if ORCID state this should be happening then it must be considered a bug one way or the other.


David Newman

On 21/01/2021 11:26, Ranju Upadhyay via Eprints-tech wrote:
we are testing ORCID integration in eprints. we have installed all the plugins and most of the things seem to work. However, there is one part that does not seem to work as ORCID expects it to. When a user disconnects from ORCID in her/his profile in eprints, the "Trusted Organisation" section in ORCID side does not get updated i.e it does not delete the Trusted Organisation from users profile in ORCID even though the user has disconnected . 

ORCID says it should.

My question is , should that be deleted ?

Does anyone know?

Virus-free. www.avg.com