[koha-commits] main Koha release repository branch 3.22.x updated. v3.22.01-45-g93b204f

Git repo owner gitmaster at git.koha-community.org
Thu Dec 31 10:43:32 CET 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, 3.22.x has been updated
       via  93b204f6b66ed9848a26accc632658f6d37e3ccd (commit)
      from  638a6343f653fdf0a04504ada952d01978d4733a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 93b204f6b66ed9848a26accc632658f6d37e3ccd
Author: Marc Véron <veron at veron.ch>
Date:   Wed Dec 16 16:00:15 2015 +0100

    Bug 15386: Checkout / patron pages: Hide menu items leading to 404 pages
    
    Some of the menu items on patron / Checkout related pages lead to a 404 page
    depending on the permissions. This patch hides them as appropriate.
    
    To test:
    
    - For a staff member A, set permission 'borrowers' only (+ 'catalogue')
    - Log in as A
    - Search a patron and display details
    - Verify that none of the menu items at the left lead to the 404 page
    
    - For a staff member B, set permission 'circulate_remaining_permission'
      only (+ catalogue)
    - Log in as B
    - Go to Circulation > Checkout, search a patron
    - Click menu items at the left, some of them lead to the 404 page
    - Verify that none of the menu items at the left lead to the 404 page
    
    - Do the same for a staff member C with both permissions set
    - Verify that menu items appear as expected
    
    Signed-off-by: Lucio Moraes <lmoraes at catalyst.net.nz>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Amended patch: I have remove the double if
    CAN_user_circulate_circulate_remaining_permissions statement (and group
    block into one). And also remove unecessary change ('IF a IF b' instead
    of existing 'IF a && b')
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    (cherry picked from commit 976d715ac52a3c54cbc397d22127e773f977e0db)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

-----------------------------------------------------------------------

Summary of changes:
 .../intranet-tmpl/prog/en/includes/circ-menu.inc   |   30 +++++++++++++-------
 1 file changed, 19 insertions(+), 11 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list