Koha/circ
Fridolin Somers 80be039d6c 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@ptfs-europe.com>

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

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-04-26 11:49:08 +00:00
..
add_message.pl Bug 18403: Update permissions - borrowers => 1|* becomes borrowers => 'edit_borrowers' 2018-02-12 15:41:37 -03:00
article-request-slip.pl Bug 20851: Add module to circ/article-request-slip.pl 2018-06-08 09:48:12 -04:00
article-requests.pl Bug 14610 - Add and update scripts 2016-10-26 12:15:14 +00:00
bookcount.pl Bug 20661: Shortcut circ scripts if a blocking error appeared 2018-08-10 12:23:03 +00:00
branchoverdues.pl Bug 22521: Update fines handling to use accountline.status 2019-04-17 16:49:36 +00:00
branchtransfers.pl Bug 10300: (follow-up) add controls on transfers page 2019-04-26 11:49:08 +00:00
checkout-notes.pl Bug 17698: Do not send pending_checkout_notes from all circ scripts 2018-07-23 15:23:44 +00:00
circulation-home.pl Bug 17698: (follow-up) Fixing things in Comment 57 2018-07-23 15:23:43 +00:00
circulation.pl Bug 12159: Fix getting extended patron attributes for circ-menu 2019-03-28 13:05:22 +00:00
del_message.pl Bug 18403: Update permissions - borrowers => 1|* becomes borrowers => 'edit_borrowers' 2018-02-12 15:41:37 -03:00
hold-transfer-slip.pl Bug 17561: ReserveSlip needs itemnumber for item level holds on same biblio 2018-06-04 13:40:36 -04:00
offline-mf.pl
offline.pl
on-site_checkouts.pl Bug 17698: Do not send pending_checkout_notes from all circ scripts 2018-07-23 15:23:44 +00:00
overdue.pl Bug 21837: Don't set holdingbranch filter using selected homebranch filter 2018-11-21 11:24:02 +00:00
pendingreserves.pl Bug 22536: Display problem in Holds to Pull report 2019-03-28 12:33:06 +00:00
renew.pl Bug 13763: (follow-up) Strip leading whitespace characters from input barcode 2019-03-21 18:19:22 +00:00
request-article.pl Bug 21291: (follow-up) Pass subscriptionsnumber to all tools in staff detail's sidebar 2018-10-15 13:40:47 +00:00
reserveratios.pl Bug 19997: use Modern::Perl in Circulation perl scripts 2018-02-05 09:45:48 -03:00
returns.pl Bug 14576: Allow arbitrary automatic update of location on checkin 2019-04-25 11:36:23 +00:00
selectbranchprinter.pl Bug 21056: Add another flush later 2018-08-09 10:57:08 +00:00
transfer-slip.pl Bug 19997: use Modern::Perl in Circulation perl scripts 2018-02-05 09:45:48 -03:00
transferstoreceive.pl Bug 17698: Do not send pending_checkout_notes from all circ scripts 2018-07-23 15:23:44 +00:00
view_holdsqueue.pl Bug 17698: Do not send pending_checkout_notes from all circ scripts 2018-07-23 15:23:44 +00:00
waitingreserves.pl Bug 21628: Simplify holds awating pickup report 2018-11-08 02:18:47 +00:00
ypattrodue-attr-search-authvalue.pl Bug 19997: use Modern::Perl in Circulation perl scripts 2018-02-05 09:45:48 -03:00
ysearch.pl Bug 20707: Replace circ/search.pl circulate permission requirement with catalogue 2018-05-11 11:36:23 -03:00