[EP-tech] User privileges

John Salter J.Salter at leeds.ac.uk
Fri May 27 16:57:27 BST 2016


Hi Laurent,

I'll answer the last bit first:
Have a look in EPrints::DataObj::User
https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/DataObj/User.pm#L1055-L1368

You're right - I think you need to add a
eprint/archive/move_buffer:owner
priv to the 'deposit' role? (I have't thought this through thoroughly - it's beer o'clock here - before a long weekend!).


When something is moved from archive 'backwards' (e.g. to buffer or inbox), it doesn't get a tombstone page (like a deleted item does).
This http://bazaar.eprints.org/411/ patches the OAI-PMH interface to return a 'deleted' status for items that have been moved backwards.

Cheers,
John

-----Original Message-----
From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Laurent Cloarec
Sent: 27 May 2016 15:50
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] User privileges
Importance: High

Hello again !


The purpose : I would like to allow a "normal" user to move back any of his 
*own* eprints from the live archive back to the review area ; then (if I don't 
mistake), he'll be able to move it further to his own user area, in order to 
modify some metadata (before he deposes it again to the review area, for 
validation purpose by an "editor" user).

Does it exist something like an "eprint/archive/move_to_review:owner" privilege ?

I checked out the http://wiki.eprints.org/w/User_roles.pl page, but I didn't 
find anything like this...

By the way, how could I get an *exhaustive* list of roles and privileges ???


Best regards
--
Laurent Cloarec
Service Commun de la Documentation - Service du Numérique Documentaire
Université Toulouse 1 Capitole
France

*** 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/



More information about the Eprints-tech mailing list