Line 0
Link Here
|
0 |
- |
1 |
use Modern::Perl; |
|
|
2 |
|
3 |
return { |
4 |
bug_number => "34844", |
5 |
description => "Add permission manage_item_editor_templates", |
6 |
up => sub { |
7 |
my ($args) = @_; |
8 |
my ( $dbh, $out ) = @$args{qw(dbh out)}; |
9 |
|
10 |
$dbh->do( |
11 |
q{ |
12 |
INSERT IGNORE permissions (module_bit, code, description) VALUES |
13 |
( 9, 'manage_item_editor_templates', 'Update and delete item editor template owned by others') |
14 |
} |
15 |
); |
16 |
|
17 |
say $out "Added new permission 'manage_item_editor_templates'"; |
18 |
}, |
19 |
} |