Bugzilla – Attachment 155931 Details for
Bug 34844
manage_item_editor_templates is missing from userpermissions.sql
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34844: Add manage_item_editor_templates to userpermissions.sql
Bug-34844-Add-manageitemeditortemplates-to-userper.patch (text/plain), 2.34 KB, created by
Kyle M Hall (khall)
on 2023-09-20 13:51:17 UTC
(
hide
)
Description:
Bug 34844: Add manage_item_editor_templates to userpermissions.sql
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2023-09-20 13:51:17 UTC
Size:
2.34 KB
patch
obsolete
>From fa032da918ede0ba36617399cb1c16f8f19c913c Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 20 Sep 2023 09:31:47 -0400 >Subject: [PATCH] Bug 34844: Add manage_item_editor_templates to > userpermissions.sql > >Test Plan: >1) perl /kohadevbox/misc4dev/run_tests.pl --run-db-upgrade-only; prove t/Koha/Auth/Permissions.t >2) Note failure >3) Apply this patch >4) perl /kohadevbox/misc4dev/run_tests.pl --run-db-upgrade-only; prove t/Koha/Auth/Permissions.t >5) Tests pass! >--- > installer/data/mysql/mandatory/userpermissions.sql | 1 + > t/Koha/Auth/Permissions.t | 1 + > 2 files changed, 2 insertions(+) > >diff --git a/installer/data/mysql/mandatory/userpermissions.sql b/installer/data/mysql/mandatory/userpermissions.sql >index 2f84c9bc2f7..2ffe484f3e4 100644 >--- a/installer/data/mysql/mandatory/userpermissions.sql >+++ b/installer/data/mysql/mandatory/userpermissions.sql >@@ -56,6 +56,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES > ( 9, 'edit_items_restricted', 'Limit item modification to subfields defined in the SubfieldsToAllowForRestrictedEditing preference (please note that edit_item is still required)'), > ( 9, 'delete_all_items', 'Delete all items at once'), > ( 9, 'manage_item_groups', 'Create, update and delete item groups, add or remove items from a item groups'), >+ ( 9, 'manage_item_editor_templates', 'Update and delete item editor template owned by others'), > ( 9, 'edit_any_item', 'Edit any item regardless of home library'), > (10, 'payout', 'Perform account payout action'), > (10, 'refund', 'Perform account refund action'), >diff --git a/t/Koha/Auth/Permissions.t b/t/Koha/Auth/Permissions.t >index 2061ac4170b..0d3e068917b 100755 >--- a/t/Koha/Auth/Permissions.t >+++ b/t/Koha/Auth/Permissions.t >@@ -159,6 +159,7 @@ subtest 'superlibrarian tests' => sub { > 'CAN_user_editcatalogue_edit_items' => 1, > 'CAN_user_editcatalogue_fast_cataloging' => 1, > 'CAN_user_editcatalogue_manage_item_groups' => 1, >+ 'CAN_user_editcatalogue_manage_item_editor_templates' => 1, > 'CAN_user_editcatalogue' => 1, > 'CAN_user_ill' => 1, > 'CAN_user_lists_delete_public_lists' => 1, >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 34844
:
155931
|
155933
|
155994
|
155995
|
155996
|
156034
|
156035
|
156045
|
156046