1.7 Access conditions and images

If necessary, the display of images of some records can be blocked by means of an access licence. However, it may be desired to display small thumbnails of the images anyway. For this purpose, a maximum image width can be defined up to which the access permission View images is not required, but the permission View thumbnails is sufficient (default value is 120):

<accessConditions> 
    <thumbnailImageAccessMaxWidth>150</thumbnailImageAccessMaxWidth>
</accessConditions>

If this value is set too high, this is tantamount to de facto undermining the access restriction!

It is also possible to make the normal image display accessible, but to limit the permitted image resolution. Such a restriction always deactivates the zoom function at the same time. In the configuration, the maximum picture width that can be called up without the 'Image zoom' authorisation can be set for this. The default value for this configuration is 0; in this case, no restriction applies.

<accessConditions> 
    <unzoomedImageAccessMaxWidth>600</unzoomedImageAccessMaxWidth>
</accessConditions>

Users who access the Goobi viewer interface from localhost can be automatically assigned administrator rights for access restrictions. This is controlled by the following switch:

<accessConditions> 
    <fullAccessForLocalhost>true</fullAccessForLocalhost>
</accessConditions>

Last updated