e0c4ed368b6a6b9522b110ff50b2f428d7dcc720
[koha.git] / installer / data / mysql / 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    ( 1, 'overdues_report', 'Execute overdue items report'),
5    ( 1, 'force_checkout', 'Force checkout if a limitation exists'),
6    ( 1, 'manage_restrictions', 'Manage restrictions for accounts'),
7    ( 1, 'manage_checkout_notes', 'Mark checkout notes as seen/not seen'),
8    ( 3, 'parameters_remaining_permissions', 'Remaining system parameters permissions'),
9    ( 3, 'manage_circ_rules', 'Manage circulation rules'),
10    ( 4, 'edit_borrowers', 'Add, modify and view patron information'),
11    ( 4, 'view_borrower_infos_from_any_libraries', 'View patron infos from any libraries'),
12    ( 6, 'place_holds', 'Place holds for patrons'),
13    ( 6, 'modify_holds_priority', 'Modify holds priority'),
14    ( 9, 'edit_catalogue', 'Edit catalog (Modify bibliographic/holdings data)'),
15    ( 9, 'fast_cataloging', 'Fast cataloging'),
16    ( 9, 'edit_items', 'Edit items'),
17    ( 9, 'edit_items_restricted', 'Limit item modification to subfields defined in the SubfieldsToAllowForRestrictedEditing preference (please note that edit_item is still required)'),
18    ( 9, 'delete_all_items', 'Delete all items at once'),
19    (10, 'writeoff', 'Write off fines and fees'),
20    (10, 'remaining_permissions', 'Remaining permissions for managing fines and fees'),
21    (11, 'currencies_manage', 'Manage currencies and exchange rates'),
22    (11, 'vendors_manage', 'Manage vendors'),
23    (11, 'contracts_manage', 'Manage contracts'),
24    (11, 'period_manage', 'Manage budgets'),
25    (11, 'budget_manage', 'Manage funds'),
26    (11, 'budget_modify', 'Modify funds (can''t create lines, but can modify existing ones)'),
27    (11, 'planning_manage', 'Manage budget plannings'),
28    (11, 'order_manage', 'Manage baskets and order lines'),
29    (11, 'order_manage_all', 'Manage all baskets and order lines, regardless of restrictions on them'),
30    (11, 'group_manage', 'Manage basket groups'),
31    (11, 'order_receive', 'Receive orders and manage shipments'),
32    (11, 'budget_add_del', 'Add and delete funds (but can''t modify funds)'),
33    (11, 'budget_manage_all', 'Manage all funds'),
34    (11, 'edi_manage', 'Manage EDIFACT transmissions'),
35    (13, 'edit_news', 'Write news for the OPAC and staff interfaces'),
36    (13, 'label_creator', 'Create printable labels and barcodes from catalog and patron data'),
37    (13, 'edit_calendar', 'Define days when the library is closed'),
38    (13, 'moderate_comments', 'Moderate patron comments'),
39    (13, 'edit_notices', 'Define notices'),
40    (13, 'edit_notice_status_triggers', 'Set notice/status triggers for overdue items'),
41    (13, 'edit_quotes', 'Edit quotes for quote-of-the-day feature'),
42    (13, 'view_system_logs', 'Browse the system logs'),
43    (13, 'inventory', 'Perform inventory (stocktaking) of your catalog'),
44    (13, 'stage_marc_import', 'Stage MARC records into the reservoir'),
45    (13, 'manage_staged_marc', 'Manage staged MARC records, including completing and reversing imports'),
46    (13, 'export_catalog', 'Export bibliographic and holdings data'),
47    (13, 'import_patrons', 'Import patron data'),
48    (13, 'edit_patrons', 'Perform batch modification of patrons'),
49    (13, 'delete_anonymize_patrons', 'Delete old borrowers and anonymize circulation history (deletes borrower reading history)'),
50    (13, 'batch_upload_patron_images', 'Upload patron images in a batch or one at a time'),
51    (13, 'schedule_tasks', 'Schedule tasks to run'),
52    (13, 'items_batchmod', 'Perform batch modification of items'),
53    (13, 'items_batchmod_restricted', 'Limit batch item modification to subfields defined in the SubfieldsToAllowForRestrictedBatchmod preference (please note that items_batchmod is still required)'),
54    (13, 'items_batchdel', 'Perform batch deletion of items'),
55    (13, 'manage_csv_profiles', 'Manage CSV export profiles'),
56    (13, 'moderate_tags', 'Moderate patron tags'),
57    (13, 'rotating_collections', 'Manage rotating collections'),
58    (13, 'upload_local_cover_images', 'Upload local cover images'),
59    (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
60    (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
61    (13, 'marc_modification_templates', 'Manage marc modification templates'),
62    (13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
63    (13, 'access_files', 'Access to the files stored on the server'),
64    (13, 'upload_general_files', 'Upload any file'),
65    (13, 'upload_manage', 'Manage uploaded files'),
66    (15, 'check_expiration', 'Check the expiration of a serial'),
67    (15, 'claim_serials', 'Claim missing serials'),
68    (15, 'create_subscription', 'Create a new subscription'),
69    (15, 'delete_subscription', 'Delete an existing subscription'),
70    (15, 'edit_subscription', 'Edit an existing subscription'),
71    (15, 'receive_serials', 'Serials receiving'),
72    (15, 'renew_subscription', 'Renew a subscription'),
73    (15, 'routing', 'Routing'),
74    (15, 'superserials', 'Manage subscriptions from any branch (only applies when IndependentBranches is used)'),
75    (16, 'execute_reports', 'Execute SQL reports'),
76    (16, 'create_reports', 'Create SQL reports'),
77    (16, 'delete_reports', 'Delete SQL reports'),
78    (18, 'manage_courses', 'Add, edit and delete courses'),
79    (18, 'add_reserves', 'Add course reserves'),
80    (18, 'delete_reserves', 'Remove course reserves'),
81    (19, 'manage', 'Manage plugins ( install / uninstall )'),
82    (19, 'tool', 'Use tool plugins'),
83    (19, 'report', 'Use report plugins'),
84    (19, 'configure', 'Configure plugins'),
85    (20, 'delete_public_lists', 'Delete public lists'),
86    (21, 'edit_templates', 'Create and update club templates'),
87    (21, 'edit_clubs', 'Create and update clubs'),
88    (21, 'enroll', 'Enroll patrons in clubs'),
89    (23, 'self_checkin_module', 'Log into the self check-in module'),
90    (23, 'self_checkout_module', 'Perform self checkout at the OPAC. It should be used for the patron matching the AutoSelfCheckID')
91 ;