Hi all,

we have a requirement to give administrator rights to all the 
(co-)authors of a publication in our repository given that an author is 
registered as an eperson in our DSpace. For the sake of convenience and 
in order to ensure this is really done, we want it automated. This poses 
some questions on which I'd like to hear your opinion.

1) Since it is not possible (or is it?) in DSpace to grant rights to 
epersons rather than groups containing specific epersons, is there any 
automatic way to generate an own group for an eperson when the eperson 
is added to the system? That group representing only the eperson can 
than be used to grant rights to only that eperson. This is rather dirty, 
admittedly, is there a smarter way? If no, my idea is to use the 
DatabaseManager to insert new entries in the database, but where in the 
source should I do that? In the EPerson constructor (i.e. call a method 
from there)?

2) We would like a routine at item submission that lets the user choose 
(co-)authors from the list of epersons. Defining a qualdrop_value in the 
input-forms.xml comes to mind first, but that would only give me name 
strings instead of eperson objects, and even the string list would have 
to updated somehow when a new eperson is added to the system.

3) If an eperson is selected as author of an item as desired in 2), they 
should also be granted admin rights for the item. Assuming that only 
groups can have rights, we'd have to give the rights to the one-member 
group representing the eperson. Again, I'd issue some SQL statements 
through the DatabaseManager, but again, where would this fit best?

Thanks very much in advance,
Joachim

PS: Sorry it feels like I've been responsible for half of the topics on 
this list lately, but we're still in the process of setting up our 
repository and there are so many issues...

-- 
Joachim Bingel
Institut für Deutsche Sprache, Zentrale Forschung
R5, 6-13, 68161 Mannheim
+49 - (0)621-1581-456 | http://www.ids-mannheim.de


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to