Bug 34257: Limit item types by branch in batchMod.pl
authorLucas Gass <lucas@bywatersolutions.com>
Fri, 18 Aug 2023 14:45:14 +0000 (14:45 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 14 Sep 2023 18:06:26 +0000 (08:06 -1000)
commitb7e93600614770f16cc26da7c6ee50dd8ebc5e0f
treefe4806d159e6c497938bb4e96393d43645266fcf
parent61eaab1c0510054df46e0769b8e4f3eb6ba844f2
Bug 34257: Limit item types by branch in batchMod.pl

To test:
1. Go to Item types administration.
2. Set some items types to be limited to a branch you are not logged in as.
3. Find some items from the branch you are logged in at and go to Batch item modification.
4. Add the barcodes and attempt to edit the item type to the one you limited in step 2.
5. You can change these item types to ones that your branch should not be able to.
6. Apply patch
7. Try steps 4 -5 again but this time you should not see item types in the dropdown that are limited to other branches.

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 13d5ff94248df32623853ed2d87258f81edc0a8f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
tools/batchMod.pl