@@ -, +, @@ IndependentBranches syspref --- installer/data/mysql/atomicupdate/bug_10300.sql | 3 +++ installer/data/mysql/sysprefs.sql | 1 + .../prog/en/modules/admin/preferences/admin.pref | 7 +++++++ 3 files changed, 11 insertions(+) create mode 100644 installer/data/mysql/atomicupdate/bug_10300.sql --- a/installer/data/mysql/atomicupdate/bug_10300.sql +++ a/installer/data/mysql/atomicupdate/bug_10300.sql @@ -0,0 +1,3 @@ +INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) +SELECT 'IndependentBranchesTransfers', value, NULL, 'Allow non-superlibrarians to transfer items between libraries','YesNo' +FROM systempreferences WHERE variable = 'IndependentBranches'; --- a/installer/data/mysql/sysprefs.sql +++ a/installer/data/mysql/sysprefs.sql @@ -225,6 +225,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('IncludeSeeFromInSearches','0','','Include see-from references in searches.','YesNo'), ('IndependentBranches','0',NULL,'If ON, increases security between libraries','YesNo'), ('IndependentBranchesPatronModifications','0', NULL, 'Show only modification request for the logged in branch','YesNo'), +('IndependentBranchesTransfers','0', NULL, 'Allow non-superlibrarians to transfer items between libraries','YesNo'), ('IntranetCatalogSearchPulldown','0', NULL, 'Show a search field pulldown for \"Search the catalog\" boxes','YesNo'), ('RecordedBooksClientSecret','','30','Client key for RecordedBooks integration','YesNo'), ('RecordedBooksDomain','','','RecordedBooks domain','Free'), --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref @@ -111,6 +111,13 @@ Administration: choices: yes: "Yes" no: "No" + - + - Prevent staff (but not superlibrarians) from transfering items to other libraries + - pref: IndependentBranchesTransfers + default: 0 + choices: + yes: "Yes" + no: "No" CAS authentication: - - "Use CAS for login authentication: " --