Koha/koha-tmpl/intranet-tmpl/prog/en
Owen Leonard cb75b23921 Bug 11097 - Hide duplicate patron button if logged in user lacks CAN_user_borrowers permission
The "duplicate" button on the circ/patron toolbar should not appear if
the logged in user lacks permission to edit patron records. This patch
wraps the button in the required logic.

To test, open a patron record in circulation or patrons and view as a
staff client user who both has and doesn't have CAN_user_borrowers
permission. The button should be shown and not shown accordingly.

Signed-off-by: Ed Veal <ed.veal@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-10-22 12:48:39 +00:00
..
css Bug 10401: Add ability to merge invoices 2013-10-21 19:08:03 +00:00
data
includes Bug 11097 - Hide duplicate patron button if logged in user lacks CAN_user_borrowers permission 2013-10-22 12:48:39 +00:00
js Bug 11002: simplify patron mandatory field validation 2013-10-22 05:18:42 +00:00
lib
modules Bug 10785: (follow-up) fix one last bit of capitalization 2013-10-22 05:43:00 +00:00
xslt Bug 10911: fix invalid links when displaying records that have 880 fields 2013-09-23 17:12:13 +00:00
columns.def Bug 10550: Fix database typo wthdrawn 2013-09-08 01:58:41 +00:00