[koha-commits] main Koha release repository branch 17.05.x updated. v17.05.04-124-gfe386c1

Git repo owner gitmaster at git.koha-community.org
Tue Oct 17 10:03:40 CEST 2017


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, 17.05.x has been updated
       via  fe386c172496159198b34383c3080185de7ae0af (commit)
      from  47223f0cad47913c15f4c9dacfbc0ed4682a8e2d (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 fe386c172496159198b34383c3080185de7ae0af
Author: Fridolin Somers <fridolin.somers at biblibre.com>
Date:   Fri Sep 15 11:12:01 2017 +0200

    Bug 19323: subscription edit permission issue
    
    If a librarian has edit_subscription but not create_subscription :
    When trying to edit a subscription, after saving permission is denied.
    
    This is because permissions in serials/subscription-add.pl depends on arg 'op' and on edit this arg starts with 'modify' but changes to 'modsubscription' when saving.
    
    Test plan :
    - Create a user with staff access
    - Define its permissions on serials : only edit_subscription
    - Edit a subscription
    - Click 'Next'
    - Click 'Test prediction pattern'
    - Click 'Save subscription'
    => Without patch you get to page serials/subscription-add.pl with permission denied
    => With patch subscription is saved and you get to subscription details page
    
    Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose at inlibro.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit 12bd6358cfe6c9348cb111d22f04097f7911babf)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

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

Summary of changes:
 serials/subscription-add.pl |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list