EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #03478


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

[EP-tech] Re: User Masquerade


There was this:

http://www.eprints.org/tech.php/thread-13844.html - and Tims reply sounds like there’s some code to help this functionality:

So, with this change, aliasing is just a case of writing a custom

check_user_password that returns the alias instead of the normal

username.”

 

I’ve never implemented this – so my knowledge runs out about here…

 

Cheers,

John

 

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of sf2
Sent: 12 September 2014 10:18
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: User Masquerade

 

Hi Dave,

This has never been possible as far as I know. Some components sometime allow to do "stuff on behalf of" other users, such as with the REF plug-in.

Such a feature would require low-level patching of EPrints::Repository->current_user (shouldn't be too hard to achieve though eg store a on_behalf_of cookie, have a validate method and a pin on the template to un-masquerade). This would be a sweet feature!

Seb.

 

On 11.09.2014 16:08, David Kane wrote:

Hello All,

 

I was wondering whether the latest version of eprints allows administrators to masquerade as regular users.  I know this was possible a few years ago, but what is the practice now?  What works on the more recent versions of EPrints?

 

Thanks and best wishes,

 

David.

 

--

David Kane, MSc (Econ). ILS.
Systems Librarian
Waterford Institute of Technology
Ireland
http://library.wit.ie/
T: ++353.51302838
M: ++353.876693212

 

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/