On 06.06.2014 11:52, Henning Hraban Ramm wrote:

Hi!

In my BFE I check this with:
acc_authorize_action(bfo.user_info, 'viewfulltext‘)
And I added this right to access_control_config.py

Generally it works, but in list views (collections) it depends on language - 
probably a caching problem.

E.g. I call my Invenio site and am not logged in - download icons missing ok in 
list and detail views.
Then I log in and get download icons in detail views - but in list views only 
if I switch the language! (Reloading the page doesn’t help.)

List view refers to display of hb format, I guess. Usually, in invenio
this is cached indeed by means of a bibreformat-job, and this format is
redone only if you update the marc of your record. Caching hb is quite
advisable, given the fact that it needs to be displayed all the time.

So, displaying links in hb depending on rights of the user is not really
supported. We had a similar issue wrt "modify this record" which should
only show up if the user has the right to do so. In fact we droped it
form HB and it shows only in HD pages.

--

Kind regards,

Alexander Wagner
Scientific Services / Scientific Publishing
Central Library
52425 Juelich

mail : [email protected]
phone: +49 2461 61-1586
Fax  : +49 2461 61-6103
http://www.fz-juelich.de/zb/wp


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

Reply via email to