Bug 34002: Check for stage_marc_import permssion
authorLucas Gass <lucas@bywatersolutions.com>
Tue, 13 Jun 2023 19:41:48 +0000 (19:41 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 18 Jul 2023 06:02:36 +0000 (07:02 +0100)
commit44ab05d7b7ff313d1cd22489518dc9f771fdd53c
treee6a7bf0c89c1c79feb7446b868be4f255aa2531f
parent452a98f67b440559249eb7fceddd838ce357d05c
Bug 34002: Check for stage_marc_import permssion

-1 Log in to the staff client as a user who has  Acquisition management (acquisition) permissions but not the stage_marc_import (tools) permission.
-2 Go to Acquisitions and Add to a basket.
-3 Select 'From a new file'
-4 You will be logged out as the user does not have percussion to visit that page.
-5 Apply patch
-6 Try again, you will not see the link for 'From a new file' if you don't have the permssion.
-7 Give the user the stage_marc_import, you will now see the link

Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 4e1a2f148c91bc2438410f3e71c91f8deb889b91)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-add-to-basket.inc