Bug 34002: Check for stage_marc_import permssion
authorLucas Gass <lucas@bywatersolutions.com>
Tue, 13 Jun 2023 19:41:48 +0000 (19:41 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 6 Jul 2023 15:24:16 +0000 (12:24 -0300)
commit4e1a2f148c91bc2438410f3e71c91f8deb889b91
treec8c4794ba24b16f6f0546a385c9f228334e050cd
parent251aef431bf554ea333360df515d12b2961242ff
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>
koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-add-to-basket.inc