Fridolin Somers
80be039d6c
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@ptfs-europe.com> Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> |
||
---|---|---|
.. | ||
article-requests.tt | ||
bookcount.tt | ||
branchoverdues.tt | ||
branchtransfers.tt | ||
checkout-notes.tt | ||
circulation-home.tt | ||
circulation.tt | ||
circulation_batch_checkouts.tt | ||
offline-mf.tt | ||
offline.tt | ||
on-site_checkouts.tt | ||
overdue.tt | ||
pendingreserves.tt | ||
printslip.tt | ||
renew.tt | ||
request-article.tt | ||
reserveratios.tt | ||
returns.tt | ||
selectbranchprinter.tt | ||
transferstoreceive.tt | ||
view_holdsqueue.tt | ||
waitingreserves.tt |