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 113-118 INSERT INTO permissions (module_bit, code, description) VALUES Link Here
113
   (13, 'edit_patrons', 'Perform batch modification of patrons'),
113
   (13, 'edit_patrons', 'Perform batch modification of patrons'),
114
   (13, 'delete_anonymize_patrons', 'Delete old borrowers and anonymize circulation history (deletes borrower checkout history)'),
114
   (13, 'delete_anonymize_patrons', 'Delete old borrowers and anonymize circulation history (deletes borrower checkout history)'),
115
   (13, 'batch_extend_due_dates', 'Perform batch extend due dates'),
115
   (13, 'batch_extend_due_dates', 'Perform batch extend due dates'),
116
   (13, 'batch_modify_holds', 'Perform batch modification of holds'),
116
   (13, 'batch_upload_patron_images', 'Upload patron images in a batch or one at a time'),
117
   (13, 'batch_upload_patron_images', 'Upload patron images in a batch or one at a time'),
117
   (13, 'schedule_tasks', 'Schedule tasks to run'),
118
   (13, 'schedule_tasks', 'Schedule tasks to run'),
118
   (13, 'items_batchmod', 'Perform batch modification of items'),
119
   (13, 'items_batchmod', 'Perform batch modification of items'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc (-1 / +5 lines)
Lines 371-376 Link Here
371
    [%- CASE 'batch_extend_due_dates' -%]
371
    [%- CASE 'batch_extend_due_dates' -%]
372
        <span class="sub_permission batch_extend_due_dates_subpermission"> Perform batch extend due dates </span>
372
        <span class="sub_permission batch_extend_due_dates_subpermission"> Perform batch extend due dates </span>
373
        <span class="permissioncode">([% name | html %])</span>
373
        <span class="permissioncode">([% name | html %])</span>
374
    [%- CASE 'batch_modify_holds' -%]
375
        <span class="sub_permission batch_modify_holds_subpermission">
376
            Perform batch modification of holds
377
        </span>
378
        <span class="permissioncode">([% name | html %])</span
374
    [%- CASE 'edit_calendar' -%]
379
    [%- CASE 'edit_calendar' -%]
375
        <span class="sub_permission edit_calendar_subpermission"> Define days when the library is closed </span>
380
        <span class="sub_permission edit_calendar_subpermission"> Define days when the library is closed </span>
376
        <span class="permissioncode">([% name | html %])</span>
381
        <span class="permissioncode">([% name | html %])</span>
377
- 

Return to bug 36135