Bugzilla – Attachment 156046 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 db update file
Bug-34844-Add-db-update-file.patch (text/plain), 1.36 KB, created by
Marcel de Rooy
on 2023-09-22 09:19:58 UTC
(
hide
)
Description:
Bug 34844: Add db update file
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2023-09-22 09:19:58 UTC
Size:
1.36 KB
patch
obsolete
>From 0a9c112ddfcada76db7874fc33d5cb3c84318e65 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 21 Sep 2023 08:55:50 -0400 >Subject: [PATCH] Bug 34844: Add db update file >Content-Type: text/plain; charset=utf-8 > >JD amended patch: tidy > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > .../data/mysql/atomicupdate/bug_34844.pl | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) > create mode 100755 installer/data/mysql/atomicupdate/bug_34844.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_34844.pl b/installer/data/mysql/atomicupdate/bug_34844.pl >new file mode 100755 >index 0000000000..a483616508 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_34844.pl >@@ -0,0 +1,19 @@ >+use Modern::Perl; >+ >+return { >+ bug_number => "34844", >+ description => "Add permission manage_item_editor_templates", >+ up => sub { >+ my ($args) = @_; >+ my ( $dbh, $out ) = @$args{qw(dbh out)}; >+ >+ $dbh->do( >+ q{ >+ INSERT IGNORE permissions (module_bit, code, description) VALUES >+ ( 9, 'manage_item_editor_templates', 'Update and delete item editor template owned by others') >+ } >+ ); >+ >+ say $out "Added new permission 'manage_item_editor_templates'"; >+ }, >+ } >-- >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