[koha-commits] main Koha release repository branch new/bug_6841 created. v3.04.00-552-gc2015c7

Git repo owner gitmaster at git.koha-community.org
Wed Sep 14 11:44:23 CEST 2011


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, new/bug_6841 has been created
        at  c2015c710355a0ab81306515a70af29e6aef3504 (commit)

- Log -----------------------------------------------------------------
commit c2015c710355a0ab81306515a70af29e6aef3504
Author: Liz Rea <lrea at nekls.org>
Date:   Tue Sep 6 13:00:51 2011 -0500

    Bug 6841 - A member with cataloging permissions cannot change branches (when independent branches is set on)
    
    This patch does a couple of things.
    
    1. Changes permission over all to set branch printer (change branch/Set Library) from "circulation" privileges to "view catalogue" permissions. Reasoning: anyone who has privileges to view catalogue could reasonably be expected to perhaps need to change the set branch, but you might have people who don't have circulate permissions who need to change the branch, centralized cataloguing, for example. Those people would never circ and wouldn't need circ privileges, but *would* need to be able to change the set branch.
    2. Changes the template flags to see the "Set Library" link with independent branches set from "manage users" to "manage users or edit catalogue." Reasoning: even with indy branches on, there might be reasons for catalogers to be able to change the set branch (that reason was the impetus for this patch in the first place).
    
    To test:
    Create a user with only "View Catalogue" Permissions (no circulate permissions), that user should be able to change set library with Independent branches OFF.
    
    With independent branches on, give a user edit catalogue permissions. That user should be able to change set library.
    
    I want to add that this patch was specifically written in response to chris_n's bug report. It may not be practical for these changes to be in mainline, but I haven't thought of any reasons why it would be explicitly bad. That doesn't mean there aren't some, though.
    
    Signed-off-by: Chris Nighswonger <cnighswonger at foundations.edu>
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>

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


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list