Bug 24846: Add new permission batch_extend_due_dates
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
44e6f6d9eb
commit
48bfabbe05
3 changed files with 17 additions and 0 deletions
11
installer/data/mysql/atomicupdate/bug_24846.perl
Normal file
11
installer/data/mysql/atomicupdate/bug_24846.perl
Normal file
|
@ -0,0 +1,11 @@
|
|||
$DBversion = 'XXX'; # will be replaced by the RM
|
||||
if( CheckVersion( $DBversion ) ) {
|
||||
$dbh->do(qq{
|
||||
INSERT IGNORE permissions (module_bit, code, description)
|
||||
VALUES
|
||||
(13, 'batch_extend_due_dates', 'Perform batch extend due dates')
|
||||
});
|
||||
|
||||
SetVersion($DBversion);
|
||||
print "Upgrade to $DBversion done (Bug 24846 - Add a new permission for new tool batch extend due dates)\n";
|
||||
}
|
|
@ -79,6 +79,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES
|
|||
(13, 'import_patrons', 'Import patron data'),
|
||||
(13, 'edit_patrons', 'Perform batch modification of patrons'),
|
||||
(13, 'delete_anonymize_patrons', 'Delete old borrowers and anonymize circulation history (deletes borrower reading history)'),
|
||||
(13, 'batch_extend_due_dates', 'Perform batch extend due dates'),
|
||||
(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'),
|
||||
|
|
|
@ -407,6 +407,11 @@
|
|||
Delete old borrowers and anonymize circulation history (deletes borrower reading history)
|
||||
</span>
|
||||
<span class="permissioncode">([% name | html %])</span>
|
||||
[%- 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 'edit_calendar' -%]
|
||||
<span class="sub_permission edit_calendar_subpermission">
|
||||
Define days when the library is closed
|
||||
|
|
Loading…
Reference in a new issue