Bug 20128: Add new permission for new installations
[koha-equinox.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    ( 3, 'manage_circ_rules_from_any_libraries', 'Manage circ rules for any libraries'),
11    ( 3, 'manage_sysprefs', 'Manage global system preferences'),
12    ( 3, 'manage_libraries', 'Manage libraries and library groups'),
13    ( 3, 'manage_itemtypes', 'Manage item types'),
14    ( 3, 'manage_auth_values', 'Manage authorized values'),
15    ( 3, 'manage_patron_categories', 'Manage patron categories'),
16    ( 3, 'manage_patron_attributes', 'Manage extended patron attributes'),
17    ( 3, 'manage_transfers', 'Manage library transfer limits and transport cost matrix'),
18    ( 3, 'manage_item_circ_alerts', 'Manage item circulation alerts'),
19    ( 3, 'manage_cities', 'Manage cities and towns'),
20    ( 3, 'manage_marc_frameworks', 'Manage MARC bibliographic and authority frameworks'),
21    ( 3, 'manage_keywords2koha_mappings', 'Manage keywords to Koha mappings'),
22    ( 3, 'manage_classifications', 'Manage classification sources'),
23    ( 3, 'manage_matching_rules', 'Manage record matching rules'),
24    ( 3, 'manage_oai_sets', 'Manage OAI sets'),
25    ( 3, 'manage_item_search_fields', 'Manage item search fields'),
26    ( 3, 'manage_search_engine_config', 'Manage search engine configuration'),
27    ( 3, 'manage_search_targets', 'Manage Z39.50 and SRU server configuration'),
28    ( 3, 'manage_didyoumean', 'Manage Did you mean? configuration'),
29    ( 3, 'manage_column_config', 'Manage column configuration'),
30    ( 3, 'manage_sms_providers', 'Manage SMS cellular providers'),
31    ( 3, 'manage_audio_alerts', 'Manage audio alerts'),
32    ( 3, 'manage_usage_stats', 'Manage usage statistics settings'),
33    ( 3, 'manage_mana', 'Manage Mana KB content sharing'),
34    ( 3, 'manage_additional_fields', 'Add, edit, or delete additional custom fields for baskets or subscriptions (also requires order_manage or edit_subscription permissions)'),
35    ( 4, 'edit_borrowers', 'Add, modify and view patron information'),
36    ( 4, 'view_borrower_infos_from_any_libraries', 'View patron infos from any libraries'),
37    ( 6, 'place_holds', 'Place holds for patrons'),
38    ( 6, 'modify_holds_priority', 'Modify holds priority'),
39    ( 9, 'edit_catalogue', 'Edit catalog (Modify bibliographic/holdings data)'),
40    ( 9, 'fast_cataloging', 'Fast cataloging'),
41    ( 9, 'advanced_editor', 'Use the advanced cataloging editor (requires edit_catalogue)'),
42    ( 9, 'edit_items', 'Edit items'),
43    ( 9, 'edit_items_restricted', 'Limit item modification to subfields defined in the SubfieldsToAllowForRestrictedEditing preference (please note that edit_item is still required)'),
44    ( 9, 'delete_all_items', 'Delete all items at once'),
45    (10, 'writeoff', 'Write off fines and fees'),
46    (10, 'remaining_permissions', 'Remaining permissions for managing fines and fees'),
47    (11, 'currencies_manage', 'Manage currencies and exchange rates'),
48    (11, 'suggestions_manage', 'Manage purchase suggestions'),
49    (11, 'vendors_manage', 'Manage vendors'),
50    (11, 'contracts_manage', 'Manage contracts'),
51    (11, 'period_manage', 'Manage budgets'),
52    (11, 'budget_manage', 'Manage funds'),
53    (11, 'budget_modify', 'Modify funds (can''t create lines, but can modify existing ones)'),
54    (11, 'planning_manage', 'Manage budget plannings'),
55    (11, 'order_manage', 'Manage baskets and order lines'),
56    (11, 'order_manage_all', 'Manage all baskets and order lines, regardless of restrictions on them'),
57    (11, 'group_manage', 'Manage basket groups'),
58    (11, 'order_receive', 'Receive orders and manage shipments'),
59    (11, 'budget_add_del', 'Add and delete funds (but can''t modify funds)'),
60    (11, 'budget_manage_all', 'Manage all funds'),
61    (11, 'edi_manage', 'Manage EDIFACT transmissions'),
62    (13, 'edit_news', 'Write news for the OPAC and staff interfaces'),
63    (13, 'label_creator', 'Create printable labels and barcodes from catalog and patron data'),
64    (13, 'edit_calendar', 'Define days when the library is closed'),
65    (13, 'moderate_comments', 'Moderate patron comments'),
66    (13, 'edit_notices', 'Define notices'),
67    (13, 'edit_notice_status_triggers', 'Set notice/status triggers for overdue items'),
68    (13, 'edit_quotes', 'Edit quotes for quote-of-the-day feature'),
69    (13, 'view_system_logs', 'Browse the system logs'),
70    (13, 'inventory', 'Perform inventory (stocktaking) of your catalog'),
71    (13, 'stage_marc_import', 'Stage MARC records into the reservoir'),
72    (13, 'manage_staged_marc', 'Manage staged MARC records, including completing and reversing imports'),
73    (13, 'export_catalog', 'Export bibliographic and holdings data'),
74    (13, 'import_patrons', 'Import patron data'),
75    (13, 'edit_patrons', 'Perform batch modification of patrons'),
76    (13, 'delete_anonymize_patrons', 'Delete old borrowers and anonymize circulation history (deletes borrower reading history)'),
77    (13, 'batch_upload_patron_images', 'Upload patron images in a batch or one at a time'),
78    (13, 'schedule_tasks', 'Schedule tasks to run'),
79    (13, 'items_batchmod', 'Perform batch modification of items'),
80    (13, 'items_batchmod_restricted', 'Limit batch item modification to subfields defined in the SubfieldsToAllowForRestrictedBatchmod preference (please note that items_batchmod is still required)'),
81    (13, 'items_batchdel', 'Perform batch deletion of items'),
82    (13, 'manage_csv_profiles', 'Manage CSV export profiles'),
83    (13, 'moderate_tags', 'Moderate patron tags'),
84    (13, 'rotating_collections', 'Manage rotating collections'),
85    (13, 'upload_local_cover_images', 'Upload local cover images'),
86    (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
87    (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
88    (13, 'marc_modification_templates', 'Manage marc modification templates'),
89    (13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
90    (13, 'access_files', 'Access to the files stored on the server'),
91    (13, 'upload_general_files', 'Upload any file'),
92    (13, 'upload_manage', 'Manage uploaded files'),
93    (15, 'check_expiration', 'Check the expiration of a serial'),
94    (15, 'claim_serials', 'Claim missing serials'),
95    (15, 'create_subscription', 'Create a new subscription'),
96    (15, 'delete_subscription', 'Delete an existing subscription'),
97    (15, 'edit_subscription', 'Edit an existing subscription'),
98    (15, 'receive_serials', 'Serials receiving'),
99    (15, 'renew_subscription', 'Renew a subscription'),
100    (15, 'routing', 'Routing'),
101    (15, 'superserials', 'Manage subscriptions from any branch (only applies when IndependentBranches is used)'),
102    (16, 'execute_reports', 'Execute SQL reports'),
103    (16, 'create_reports', 'Create SQL reports'),
104    (16, 'delete_reports', 'Delete SQL reports'),
105    (18, 'manage_courses', 'Add, edit and delete courses'),
106    (18, 'add_reserves', 'Add course reserves'),
107    (18, 'delete_reserves', 'Remove course reserves'),
108    (19, 'manage', 'Manage plugins ( install / uninstall )'),
109    (19, 'tool', 'Use tool plugins'),
110    (19, 'report', 'Use report plugins'),
111    (19, 'configure', 'Configure plugins'),
112    (20, 'delete_public_lists', 'Delete public lists'),
113    (21, 'edit_templates', 'Create and update club templates'),
114    (21, 'edit_clubs', 'Create and update clubs'),
115    (21, 'enroll', 'Enroll patrons in clubs'),
116    (23, 'self_checkin_module', 'Log into the self check-in module'),
117    (23, 'self_checkout_module', 'Perform self checkout at the OPAC. It should be used for the patron matching the AutoSelfCheckID'),
118    (24, 'manage_rotas', 'Create, edit and delete rotas'),
119    (24, 'manage_rota_items', 'Add and remove items from rotas')
120 ;