[Koha-bugs] [Bug 10300] Allow transferring of items to be have separate IndependentBranches syspref

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 24 23:57:07 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10300

--- Comment #15 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 88662
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=88662&action=edit
Bug 10300: (follow-up) add controls on transfers page

This patch moves the check of IndependentBranchesTransfers pref to templates
and adds permission test inside branchtransfers.pl.
It also corrects the libraries combobox in branchtransfers.tt, this list can
contain all libraries, it is the access to the page that may be protected.

Additions to test plan :
1)
1.1) Enable CircSidebar
1.2) In circulation home page check the effect of IndependentBranchesTransfers
on "Transfer" link
1.3) Go to return page and check then effect of IndependentBranchesTransfers on
"Transfer" link

2)
2.1) In circ/branchtransfers.pl, with and without IndependentBranches you see
all libraries are in combobox

3)
3.1) Set IndependentBranchesTransfers to no and go to circ/branchtransfers.pl
3.2) You are redirected to page 403 unless you are superlibarian

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

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

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list