Koha/installer/data/mysql/db_revs/230600022.pl
Tomas Cohen Arazi aacbadb22f
Bug 34844: DBRev 23.06.00.022
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-09-22 10:52:45 -03:00

19 lines
546 B
Perl
Executable file

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'";
},
}