View | Details | Raw Unified | Return to bug 34844
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug_34844.pl (-1 / +17 lines)
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(q{
11
            INSERT IGNORE permissions (module_bit, code, description) VALUES
12
            ( 9, 'manage_item_editor_templates', 'Update and delete item editor template owned by others')
13
        });
14
15
        say $out "Added new permission 'manage_item_editor_templates'";
16
    },
17
}

Return to bug 34844