On 26.07.2012 15:05, Alexander Wagner wrote: Hi!
Guessing that there were some holidays involved, and that quite some people might now have returned may I point some attention to this pending question? Simply as we have to implement it ASAP, and I'd rather like to do it proper in the first place. Many thanks in advance!
For some reasons we need to restrict access to fulltext files after initial upload and have to verify first if we can allow free access. I found that I can accomplish this by using the $r subfield of fft e.g. by means of <datafield tag="FFT" ind1=" " ind2=" "> <subfield code="a">/tmp/arwagner/fulltext.pdf</subfield> <subfield code="r">firerole:allow groups 'InstitutesID' allow groups 'STAFF' </subfield> </datafield> to give access to members of the group 'InstitutesID' and members of the group 'STAFF'. However, it would be more convenient from an administrators point of view to actually (re-)use an already existing role instead of copying it here, and indeed I can accomplish this by <datafield tag="FFT" ind1=" " ind2=" "> <subfield code="a">/tmp/arwagner/fulltext.pdf</subfield> <subfield code="r">role: 'Institutes-Role-ID'</subfield> </datafield> However, as far as I can see, it is not possible to have two roles here, nor can I combine this with the "allow groups 'STAFF'" rule mentioned in the first example. Also prefixing with "firerole:" like <datafield tag="FFT" ind1=" " ind2=" "> <subfield code="a">/tmp/arwagner/fulltext.pdf</subfield> <subfield code="r">role: 'Institutes-Role-ID' firerole:allow groups 'STAFF' </subfield> </datafield> doesnt work. Alternatively, I could set up a new role by combining our Institute-Role-ID with hgfstaff (matching 'STAFF' above), but I do not see a way to accomplish this in firerole language. Could it be, that this is just not possible? Or do I just miss the obvious?
-- Kind regards, Alexander Wagner Subject Specialist Central Library 52425 Juelich mail : [email protected] phone: +49 2461 61-1586 Fax : +49 2461 61-6103 www.fz-juelich.de/zb/DE/zb-fi ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Kennen Sie schon unsere app? http://www.fz-juelich.de/app

