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

