To recreate: -Log in to the staff client as a user who has Acquisition management (acquisition) permissions but not the stage_marc_import (tools) permission. -Go to Acquisitions and Add to a basket. -Select 'From a new file' -You will be logged out as the user does not have percussion to visit that page.
Created attachment 152322 [details] [review] 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
Created attachment 152340 [details] [review] 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>
Created attachment 152601 [details] [review] 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>
Pushed to master for 23.11. Nice work everyone, thanks!
Thanks for all the hard work! Pushed to 23.05.x for the next release
Nice work everyone! Pushed to oldstable for 22.11.x