From 248dc218c4a96a013427f2e0a6bdbcce83f44417 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 21 Sep 2023 08:55:50 -0400 Subject: [PATCH] Bug 34844: Add db update file --- installer/data/mysql/atomicupdate/bug_34844.pl | 15 +++++++++++++++ 1 file changed, 15 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 00000000000..78d8ca2445c --- /dev/null +++ b/installer/data/mysql/atomicupdate/bug_34844.pl @@ -0,0 +1,15 @@ +use Modern::Perl; + +return { + bug_number => "15788", + description => "Split edit_borrowers permission", + up => sub { + my ($args) = @_; + my $dbh = $args->{dbh}; + + $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') + }); + }, +} -- 2.30.2