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

--- Comment #15 from Josef Moravec <[email protected]> ---
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 <[email protected]>

Signed-off-by: Josef Moravec <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to