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

(-)a/installer/data/mysql/atomicupdate/bug_36135.pl (+16 lines)
Line 0 Link Here
1
use Modern::Perl;
2
3
return {
4
    bug_number  => "36135",
5
    description => "Add new permission batch_modify_holds",
6
    up          => sub {
7
        my ($args) = @_;
8
        my ( $dbh, $out ) = @$args{qw(dbh out)};
9
10
        $dbh->do(
11
            q{INSERT IGNORE permissions (module_bit, code, description) VALUES (13, 'batch_modify_holds', 'Perform batch modification of holds')}
12
        );
13
14
        say $out "Added new permission 'batch_modify_holds'";
15
    },
16
};
(-)a/installer/data/mysql/mandatory/userpermissions.sql (+1 lines)
Lines 111-116 INSERT INTO permissions (module_bit, code, description) VALUES Link Here
111
   (13, 'edit_patrons', 'Perform batch modification of patrons'),
111
   (13, 'edit_patrons', 'Perform batch modification of patrons'),
112
   (13, 'delete_anonymize_patrons', 'Delete old borrowers and anonymize circulation history (deletes borrower checkout history)'),
112
   (13, 'delete_anonymize_patrons', 'Delete old borrowers and anonymize circulation history (deletes borrower checkout history)'),
113
   (13, 'batch_extend_due_dates', 'Perform batch extend due dates'),
113
   (13, 'batch_extend_due_dates', 'Perform batch extend due dates'),
114
   (13, 'batch_modify_holds', 'Perform batch modification of holds'),
114
   (13, 'batch_upload_patron_images', 'Upload patron images in a batch or one at a time'),
115
   (13, 'batch_upload_patron_images', 'Upload patron images in a batch or one at a time'),
115
   (13, 'schedule_tasks', 'Schedule tasks to run'),
116
   (13, 'schedule_tasks', 'Schedule tasks to run'),
116
   (13, 'items_batchmod', 'Perform batch modification of items'),
117
   (13, 'items_batchmod', 'Perform batch modification of items'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc (-1 / +5 lines)
Lines 365-370 Link Here
365
    [%- CASE 'batch_extend_due_dates' -%]
365
    [%- CASE 'batch_extend_due_dates' -%]
366
        <span class="sub_permission batch_extend_due_dates_subpermission"> Perform batch extend due dates </span>
366
        <span class="sub_permission batch_extend_due_dates_subpermission"> Perform batch extend due dates </span>
367
        <span class="permissioncode">([% name | html %])</span>
367
        <span class="permissioncode">([% name | html %])</span>
368
    [%- CASE 'batch_modify_holds' -%]
369
        <span class="sub_permission batch_modify_holds_subpermission">
370
            Perform batch modification of holds
371
        </span>
372
        <span class="permissioncode">([% name | html %])</span
368
    [%- CASE 'edit_calendar' -%]
373
    [%- CASE 'edit_calendar' -%]
369
        <span class="sub_permission edit_calendar_subpermission"> Define days when the library is closed </span>
374
        <span class="sub_permission edit_calendar_subpermission"> Define days when the library is closed </span>
370
        <span class="permissioncode">([% name | html %])</span>
375
        <span class="permissioncode">([% name | html %])</span>
371
- 

Return to bug 36135