Koha/installer/data/mysql
Nick Clemens 3a0d6f5d07
Bug 36665: Add option to set the staff user's logged in branch based on their current ip
This patch adds a new system preference StaffLoginBranchBasedOnIP which restores the behaviour before bug 35918
of using the current IP to determine the user's logged in branchcode

To test:
 1 - Get your current ip
 2 - Set that IP for a library in the administration section
 3 - Find a user account assigned to a different library that can login to staff side
 4 - Login to staff as that user, select 'My library'
 5 - You are logged in to the user's branch
 6 - Apply patch, restart all
 7 - Log out and back in, selecting 'My library'
 8 - You are logged in to the user's branch
 9 - Enable new system preference StaffLoginBranchBasedOnIP
 9 - Log out and back in, selecting a different branch, noting the new warning below the library selection
10 - You are logged in to the branch with the matching IP
11 - Log out and back in, selecting 'My library'
10 - You are logged in to the branch with the matching IP
11 - Change your logged in branch
12 - Verify the selection sticks and you can perform staff actions in the chosen branch
13 - Change the IP of the library to one that doesn't match yours
14 - Verify you can log out and log back in and that selected branch is respected when your IP doesn't match library IP

Signed-off-by: Kristi Krueger <KKRUEGER@cuyahogalibrary.org>

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-05-22 16:18:12 +02:00
..
atomicupdate Bug 36665: Add option to set the staff user's logged in branch based on their current ip 2024-05-22 16:18:12 +02:00
db_revs Bug 36819: DBRev 23.12.00.059 2024-05-22 16:18:06 +02:00
en Bug 35925: Adjust default purchase suggestion notices to use TT 2024-05-10 15:19:05 +02:00
localization
mandatory Bug 36665: Add option to set the staff user's logged in branch based on their current ip 2024-05-22 16:18:12 +02:00
backfill_statistics.pl
fix_unclosed_nonaccruing_fines_bug17135.pl
kohastructure.sql Bug 36819: Default layout data prints squished barcodes 2024-05-17 10:36:28 +02:00
labels_upgrade.pl
patroncards_upgrade.pl
update22to30.pl
updatedatabase.pl