MT 2269, Follow-up : Granular permissions for items batch modification and deletion
[koha.git] / installer / data / mysql / en / mandatory / userpermissions.sql
1 INSERT INTO permissions (module_bit, code, description) VALUES
2    ( 1, 'circulate_remaining_permissions', 'Remaining circulation permissions'),
3    ( 1, 'override_renewals', 'Override blocked renewals'),
4    ( 6, 'place_holds', 'Place holds for patrons'),
5    ( 6, 'modify_holds_priority', 'Modify holds priority'),
6    ( 9, 'edit_catalogue', 'Edit catalog (Modify bibliographic/holdings data)'),
7    ( 9, 'fast_cataloging', 'Fast cataloging'),
8    (11, 'vendors_manage', 'Manage vendors'),
9    (11, 'contracts_manage', 'Manage contracts'),
10    (11, 'period_manage', 'Manage periods'),
11    (11, 'budget_manage', 'Manage budgets'),
12    (11, 'budget_modify', 'Modify budget (can''t create lines, but can modify existing ones)'),
13    (11, 'planning_manage', 'Manage budget plannings'),
14    (11, 'order_manage', 'Manage orders & basket'),
15    (11, 'group_manage', 'Manage orders & basketgroups'),
16    (11, 'order_receive', 'Manage orders & basket'),
17    (11, 'budget_add_del', 'Add and delete budgets (but cant modify budgets)'),
18    (13, 'edit_news', 'Write news for the OPAC and staff interfaces'),
19    (13, 'label_creator', 'Create printable labels and barcodes from catalog and patron data'),
20    (13, 'edit_calendar', 'Define days when the library is closed'),
21    (13, 'moderate_comments', 'Moderate patron comments'),
22    (13, 'edit_notices', 'Define notices'),
23    (13, 'edit_notice_status_triggers', 'Set notice/status triggers for overdue items'),
24    (13, 'view_system_logs', 'Browse the system logs'),
25    (13, 'inventory', 'Perform inventory (stocktaking) of your catalog'),
26    (13, 'stage_marc_import', 'Stage MARC records into the reservoir'),
27    (13, 'manage_staged_marc', 'Managed staged MARC records, including completing and reversing imports'),
28    (13, 'export_catalog', 'Export bibliographic and holdings data'),
29    (13, 'import_patrons', 'Import patron data'),
30    (13, 'delete_anonymize_patrons', 'Delete old borrowers and anonymize circulation history (deletes borrower reading history)'),
31    (13, 'batch_upload_patron_images', 'Upload patron images in batch or one at a time'),
32    (13, 'schedule_tasks', 'Schedule tasks to run'),
33    (13, 'items_batchmod', 'Perform batch modification of items'),
34    (13, 'items_batchdel', 'Perform batch deletion of items'),
35    (13, 'manage_csv_profiles', 'Manage CSV export profiles'),
36    (13, 'moderate_tags', 'Moderate patron tags'),
37    (13, 'rotating_collections', 'Manage rotating collections'),
38    (16, 'execute_reports', 'Execute SQL reports'),
39    (16, 'create_reports', 'Create SQL Reports')
40 ;