Hi!

AFAIK not. I fear beyond hd there is no easy solution.

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


----- Reply message -----
From: "Henning Hraban Ramm" <[email protected]>
Date: Sat, Jun 7, 2014 18:51
Subject: puzzling caching of ACC information
To: "Wagner, Alexander" <[email protected]>
Cc: "[email protected]" <[email protected]>


Am 2014-06-06 um 16:11 schrieb Alexander Wagner <[email protected]>:

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

Would it be possible to use a different default output format for logged in and 
anonymous users?

Hraban


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