Bug 10300: Allow transferring of items to be have separate IndependentBranches syspref
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 25 Aug 2016 14:03:31 +0000 (14:03 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 26 Apr 2019 11:49:03 +0000 (11:49 +0000)
commit6e6a6230a5e59ec1866a12174233471a07d616b8
treeb12d4259e5c9b5e46449a3f2d42333413d25938b
parent428fcb3421d0176bdb92cc394fbaec00b84871a8
Bug 10300: Allow transferring of items to be have separate IndependentBranches syspref

Some libraries want to have IndependentBranches enabled, but still be
able to transfer items between themselves.

Test Plan:
1) Apply this patch
2) Run updatedatabase.pl
3) Enable IndpendentBranches and IndependentBranchesTransfers
4) Log in as a super librarian
5) Note you can transfer items
6) Log in as a non-super librarian
7) Note you cannot transfer items
8) Disable IndependentBranchesTransfers
9) Note you can now transfer items

Signed-off-by: Maribeth Shafer <mshafer@ckls.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Bug 10300: (QA follow-up) Make database update idempotent

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
installer/data/mysql/atomicupdate/bug_10300.perl [new file with mode: 0644]
installer/data/mysql/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref