Merge remote-tracking branch 'origin/new/bug_7016'
[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    ( 9, 'edit_items', 'Edit Items'),
9    (11, 'vendors_manage', 'Manage vendors'),
10    (11, 'contracts_manage', 'Manage contracts'),
11    (11, 'period_manage', 'Manage periods'),
12    (11, 'budget_manage', 'Manage budgets'),
13    (11, 'budget_modify', 'Modify budget (can''t create lines, but can modify existing ones)'),
14    (11, 'planning_manage', 'Manage budget plannings'),
15    (11, 'order_manage', 'Manage orders & basket'),
16    (11, 'group_manage', 'Manage orders & basketgroups'),
17    (11, 'order_receive', 'Manage orders & basket'),
18    (11, 'budget_add_del', 'Add and delete budgets (but cant modify budgets)'),
19    (13, 'edit_news', 'Write news for the OPAC and staff interfaces'),
20    (13, 'label_creator', 'Create printable labels and barcodes from catalog and patron data'),
21    (13, 'edit_calendar', 'Define days when the library is closed'),
22    (13, 'moderate_comments', 'Moderate patron comments'),
23    (13, 'edit_notices', 'Define notices'),
24    (13, 'edit_notice_status_triggers', 'Set notice/status triggers for overdue items'),
25    (13, 'view_system_logs', 'Browse the system logs'),
26    (13, 'inventory', 'Perform inventory (stocktaking) of your catalog'),
27    (13, 'stage_marc_import', 'Stage MARC records into the reservoir'),
28    (13, 'manage_staged_marc', 'Managed staged MARC records, including completing and reversing imports'),
29    (13, 'export_catalog', 'Export bibliographic and holdings data'),
30    (13, 'import_patrons', 'Import patron data'),
31    (13, 'delete_anonymize_patrons', 'Delete old borrowers and anonymize circulation history (deletes borrower reading history)'),
32    (13, 'batch_upload_patron_images', 'Upload patron images in batch or one at a time'),
33    (13, 'schedule_tasks', 'Schedule tasks to run'),
34    (13, 'items_batchmod', 'Perform batch modification of items'),
35    (13, 'items_batchdel', 'Perform batch deletion of items'),
36    (13, 'manage_csv_profiles', 'Manage CSV export profiles'),
37    (13, 'moderate_tags', 'Moderate patron tags'),
38    (13, 'rotating_collections', 'Manage rotating collections'),
39    (13, 'upload_local_cover_images', 'Upload local cover images'),
40    (15, 'check_expiration', 'Check the expiration of a serial'),
41    (15, 'claim_serials', 'Claim missing serials'),
42    (15, 'create_subscription', 'Create a new subscription'),
43    (15, 'delete_subscription', 'Delete an existing subscription'),
44    (15, 'edit_subscription', 'Edit an existing subscription'),
45    (15, 'receive_serials', 'Serials receiving'),
46    (15, 'renew_subscription', 'Renew a subscription'),
47    (15, 'routing', 'Routing'),
48    (16, 'execute_reports', 'Execute SQL reports'),
49    (16, 'create_reports', 'Create SQL Reports')
50 ;