Skip to content
  • joubu's avatar
    Bug 7976: Remove the borrow permission · baea0a79
    joubu authored and Tomas Cohen Arazi's avatar Tomas Cohen Arazi committed
    
    
    The borrow permission was used but uselessly.
    For instance, at the opac, the flagsrequired parameter was set to
    'borrow' but the 'authnotrequired' was set also (which means no auth
    required).
    At the end, this permission was used at only 1 place: for the basket,
    intranet side.
    This can be replaced with the catalogue permission (which is used to
    search).
    
    Test plan:
    1/ Confirm that you are able to show/download/sent the cart (intranet side)
    with the catalogue permission.
    2/ At the OPAC, you should be able to access the same pages as before
    with any other permissions.
    
    Concretely it is quite difficult to test this patch, you should have a
    look at the code.
    
    Signed-off-by: default avatarNick Clemens <nick@quecheelibrary.org>
    
    Signed-off-by: default avatarKatrin Fischer <katrin.fischer.83@web.de>
    Signed-off-by: default avatarTomas Cohen Arazi <tomascohen@gmail.com>
    baea0a79