Bug 25498: Add transfer button on intranet
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 9 Jun 2022 12:59:43 +0000 (12:59 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 19 Jul 2022 14:25:23 +0000 (11:25 -0300)
commitad83180fb071bfb3f1c3d9c223e455a19ca81adb
treefd4b6a3553325736c78e2c705e60300007b3b194
parent7d65cd5db42d4243ccacfee5f92a88e776deb759
Bug 25498: Add transfer button on intranet

Note: Adjusting shelves_results template too for not allowing delete
when you do not have delete_public_lists (or higher). If you are the
owner, you are allowed to edit or delete. But transfer specifically
needs edit_public_lists (or higher).

Note: Removed a few useless POD lines to make qa tools happy.

Test plan:
Check if you see the transfer button on public lists only when having
permission edit_public_lists (or higher). And never on private lists.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt
koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/tables/shelves_results.tt
svc/virtualshelves/search
virtualshelves/shelves.pl