Bug 18613: Remove letter rule correctly as superlibrarian
authorBaptiste Wojtkowski <baptiste.wojtkowski@biblibre.com>
Fri, 19 May 2017 09:23:17 +0000 (09:23 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 17 Jul 2017 15:41:32 +0000 (12:41 -0300)
commit648e2a2b808efac22a8b88545d53b05112a1f6f0
treee0e195b108a709ca0cc37448515a93135305f033
parenta2c9513b1c3449a34f942d8fa53f8ce1fe374e3f
Bug 18613: Remove letter rule correctly as superlibrarian

TEST PLAN

(reproducing bug)
1 - Set 'IndependantBranches' to enable
2 - Log in as Superlibrarian.
3 - Create 3 rules
    - 1 for all librairies (1)
    - 1 for the library of the superlibrarian (2)
    - 1 for another library (3)
4 - Try to delete them and see them and see that (3) isn't the good one

(checking patch)
5 - Apply patch
6 - Try again 3-
7 - Connect as not superlibrarian
8 - Try again 3-

Signed-off-by: Alex Buckley <alexbuckley@catalyst.net.nz>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Letters.pm