Koha/koha-tmpl/intranet-tmpl/prog
Katrin Fischer d0a06e365b
Bug 23101: Hide action buttons on contracts if user lacks permission
When the user doesn't have superlibrarian, full acq or
contracts_manage permission, don't show buttons for editing
and deleting contracts.

To test:
- Create a vendor with a few contracts
- Create a staff user with
  - superlibrarian = can view edit/delete contracts
  - full acq perms = same
  - without manage_contracts = can view, but action buttons are gone
- Make sure the sorting of the contracts table works in all cases

Signed-off-by: Holly Cooper <hc@interleaf.ie>
Signed-off-by: Bouzid Fergani <bouzid.fergani@inlibro.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-09-27 14:00:49 +01:00
..
css Bug 23321: Allow setting of branch default 2019-09-23 11:39:22 +01:00
en Bug 23101: Hide action buttons on contracts if user lacks permission 2019-09-27 14:00:49 +01:00
img Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
js Bug 22744: Changes for opac and remove JS 2019-09-23 11:57:46 +01:00
pdf
sound