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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 12 Sep 2023 12:45:04 +0000 (09:45 -0300)
commit13d5ff94248df32623853ed2d87258f81edc0a8f
tree878662bad7ff798bbdf4fe5dfe613ee48ae16363
parent365121cae2d4df41333d4e2144acfe8c8a82b9a9
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>
tools/batchMod.pl