Koha-clms/t/Koha
Kyle M Hall 87b3399812
Bug 33363: Add separate permissions for creating and deleting suggestions
There are a number of libraries that would like for their staff to be able to submit (and view existing) purchase suggestions from the borrower record, but not give the staff the ability to edit/manage/delete purchase suggestions.

Test Plan:
1) Apply this patch
2) Run restart all the things!
3) Run updatedatabase
4) Verify anyone with the suggestions manage permissions now has the create and delete permissions as well
5) Verify anyone without the suggestions manage permission has not recieved the new permissions
6) Enable only the create permission for a librarian
7) Verify that librarian can only create new suggestions ( not manage or delete )
8) Enable only the manage permission for a librarian
9) Verify that librarian can only manage existing suggestions ( not create or delete )
10) Enable only the delete permission for a librarian
11) Verify that librarian can only delete suggestions ( not create or manage )

Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Sponsored-by: Cuyahoga County Public Library
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-07-12 10:21:24 +02:00
..
Auth Bug 33363: Add separate permissions for creating and deleting suggestions 2024-07-12 10:21:24 +02:00
Authority Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Database Bug 29695: Add new module Koha::Database::Columns 2022-04-12 11:40:16 +02:00
DateTime/Format Bug 36486: Fix file perms and tidiness 2024-05-10 16:45:49 +02:00
I18N/po/xx_XX/LC_MESSAGES Bug 29695: Add new module Koha::Database::Columns 2022-04-12 11:40:16 +02:00
Installer Bug 35681: Add Koha::Installer::Output 2024-05-02 16:47:40 +02:00
Middleware Bug 33967: Add unit test to ensure SetEnv doesn't compromise $env 2023-06-09 08:50:13 -03:00
Object Bug 29857: (follow-up) Fix t/Koha/Object/Message.t 2022-03-02 09:40:05 -10:00
Plugins Bug 29857: (follow-up) Fix t/Koha/Plugins/Tab.t 2022-03-02 09:40:05 -10:00
REST/Plugin Bug 30645: Add REST/Plugin/Query tests 2024-04-26 08:52:47 +02:00
Result Bug 29746: (it-doesn't-hurt follow-up) More tests 2022-01-05 13:33:46 -10:00
SearchEngine Bug 31652: Add geo-search 2024-04-29 15:19:34 +02:00
Util Bug 30678: (follow-up) Add oclc_number routine and friends 2022-07-22 14:58:11 -03:00
Config.t Bug 31393: Tidy 2023-10-30 09:02:18 -03:00
Email.t Bug 31627: (follow-up) Update -Id to -ID 2024-05-10 14:11:50 +02:00
Exceptions.t Bug 35248: Add test for Koha::Exceptions::Booking 2024-03-15 09:38:46 +01:00
I18N.t Bug 15395: Allow correct handling of plural translation 2018-11-08 15:55:50 +00:00
ItemType.t Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Script.t Bug 24786: Fix Script_cron.t and t/Koha/Script.t 2020-11-06 17:04:31 +01:00
Script_cron.t Bug 24786: Fix Script_cron.t and t/Koha/Script.t 2020-11-06 17:04:31 +01:00
Z3950responder.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
sleep.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
wait.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00