Revert "Bug 36135: Add batch_modify_holds permissions"

This reverts commit 21917b5d9e.

Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
Paul Derscheid 2025-09-25 15:54:31 +02:00
parent 0c99c3229c
commit 3e40468620
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
3 changed files with 0 additions and 22 deletions

View File

@ -1,16 +0,0 @@
use Modern::Perl;
return {
bug_number => "36135",
description => "Add new permission batch_modify_holds",
up => sub {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
$dbh->do(
q{INSERT IGNORE permissions (module_bit, code, description) VALUES (13, 'batch_modify_holds', 'Perform batch modification of holds')}
);
say $out "Added new permission 'batch_modify_holds'";
},
};

View File

@ -113,7 +113,6 @@ INSERT INTO permissions (module_bit, code, description) VALUES
(13, 'edit_patrons', 'Perform batch modification of patrons'),
(13, 'delete_anonymize_patrons', 'Delete old borrowers and anonymize circulation history (deletes borrower checkout history)'),
(13, 'batch_extend_due_dates', 'Perform batch extend due dates'),
(13, 'batch_modify_holds', 'Perform batch modification of holds'),
(13, 'batch_upload_patron_images', 'Upload patron images in a batch or one at a time'),
(13, 'schedule_tasks', 'Schedule tasks to run'),
(13, 'items_batchmod', 'Perform batch modification of items'),

View File

@ -371,11 +371,6 @@
[%- CASE 'batch_extend_due_dates' -%]
<span class="sub_permission batch_extend_due_dates_subpermission"> Perform batch extend due dates </span>
<span class="permissioncode">([% name | html %])</span>
[%- CASE 'batch_modify_holds' -%]
<span class="sub_permission batch_modify_holds_subpermission">
Perform batch modification of holds
</span>
<span class="permissioncode">([% name | html %])</span
[%- CASE 'edit_calendar' -%]
<span class="sub_permission edit_calendar_subpermission"> Define days when the library is closed </span>
<span class="permissioncode">([% name | html %])</span>