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_bookings', 'Manage item bookings'),
8 ( 1, 'manage_checkout_notes', 'Mark checkout notes as seen/not seen'),
9 ( 1, 'manage_curbside_pickups', 'Manage curbside pickups'),
10 ( 3, 'parameters_remaining_permissions', 'Remaining system parameters permissions'),
11 ( 3, 'manage_accounts', 'Manage Account Debit and Credit Types' ),
12 ( 3, 'manage_circ_rules', 'Manage circulation rules'),
13 ( 3, 'manage_circ_rules_from_any_libraries', 'Manage circ rules for any libraries'),
14 ( 3, 'manage_sysprefs', 'Manage system preferences'),
15 ( 3, 'manage_libraries', 'Manage libraries and library groups'),
16 ( 3, 'manage_itemtypes', 'Manage item types'),
17 ( 3, 'manage_auth_values', 'Manage authorized values'),
18 ( 3, 'manage_patron_categories', 'Manage patron categories'),
19 ( 3, 'manage_patron_attributes', 'Manage extended patron attributes'),
20 ( 3, 'manage_transfers', 'Manage library transfer limits and transport cost matrix'),
21 ( 3, 'manage_item_circ_alerts', 'Manage item circulation alerts'),
22 ( 3, 'manage_cash_registers', 'Add and remove cash registers'),
23 ( 3, 'manage_cities', 'Manage cities and towns'),
24 ( 3, 'manage_patron_restrictions', 'Manage patron restrictions'),
25 ( 3, 'manage_marc_frameworks', 'Manage MARC bibliographic and authority frameworks'),
26 ( 3, 'manage_classifications', 'Manage classification sources'),
27 ( 3, 'manage_matching_rules', 'Manage record matching rules'),
28 ( 3, 'manage_oai_sets', 'Manage OAI sets'),
29 ( 3, 'manage_item_search_fields', 'Manage item search fields'),
30 ( 3, 'manage_search_engine_config', 'Manage search engine configuration'),
31 ( 3, 'manage_marc_overlay_rules', 'Manage MARC overlay rules configuration'),
32 ( 3, 'manage_search_targets', 'Manage Z39.50 and SRU server configuration'),
33 ( 3, 'manage_didyoumean', 'Manage Did you mean? configuration'),
34 ( 3, 'manage_column_config', 'Manage column configuration'),
35 ( 3, 'manage_sms_providers', 'Manage SMS cellular providers'),
36 ( 3, 'manage_audio_alerts', 'Manage audio alerts'),
37 ( 3, 'manage_usage_stats', 'Manage usage statistics settings'),
38 ( 3, 'manage_mana', 'Manage Mana KB content sharing'),
39 ( 3, 'manage_additional_fields', 'Add, edit, or delete additional custom fields for baskets or subscriptions (also requires order_manage or edit_subscription permissions)'),
40 ( 3, 'manage_keyboard_shortcuts', 'Manage keyboard shortcuts for the advanced cataloging editor'),
41 ( 3, 'manage_smtp_servers', 'Manage SMTP servers configuration'),
42 ( 3, 'manage_background_jobs', 'Manage background jobs'),
43 ( 3, 'manage_curbside_pickups', 'Manage curbside pickups'),
44 ( 3, 'manage_search_filters', 'Manage custom search filters'),
45 ( 3, 'manage_identity_providers', 'Manage identity providers'),
46 ( 3, 'manage_record_sources', 'Manage record sources'),
47 ( 4, 'delete_borrowers', 'Delete patrons'),
48 ( 4, 'edit_borrowers', 'Add, modify and view patron information'),
49 ( 4, 'list_borrowers', 'Search, list and view patrons'),
50 ( 4, 'send_messages_to_borrowers', 'Send messages to patrons'),
51 ( 4, 'view_borrower_infos_from_any_libraries', 'View patron infos from any libraries'),
52 ( 6, 'place_holds', 'Place holds for patrons'),
53 ( 6, 'modify_holds_priority', 'Modify holds priority'),
54 ( 9, 'edit_catalogue', 'Edit catalog (Modify bibliographic/holdings data)'),
55 ( 9, 'fast_cataloging', 'Fast cataloging'),
56 ( 9, 'advanced_editor', 'Use the advanced cataloging editor (requires edit_catalogue)'),
57 ( 9, 'create_shared_macros', 'Create shared macros'),
58 ( 9, 'delete_shared_macros', 'Delete shared macros'),
59 ( 9, 'edit_items', 'Edit items'),
60 ( 9, 'edit_items_restricted', 'Limit item modification to subfields defined in the SubfieldsToAllowForRestrictedEditing preference (please note that edit_item is still required)'),
61 ( 9, 'delete_all_items', 'Delete all items at once'),
62 ( 9, 'manage_item_groups', 'Create, update and delete item groups, add or remove items from a item groups'),
63 ( 9, 'manage_item_editor_templates', 'Update and delete item editor template owned by others'),
64 ( 9, 'edit_any_item', 'Edit any item regardless of home library'),
65 ( 9, 'edit_locked_records', 'Edit locked records'),
66 ( 9, 'set_record_sources', 'Set record source'),
67 (10, 'payout', 'Perform account payout action'),
68 (10, 'refund', 'Perform account refund action'),
69 (10, 'discount', 'Perform account discount action'),
70 (10, 'writeoff', 'Write off fines and fees'),
71 (10, 'manual_credit', 'Add manual credits to a patron account'),
72 (10, 'manual_invoice', 'Add manual invoices to a patron account'),
73 (10, 'remaining_permissions', 'Remaining permissions for managing fines and fees'),
74 (11, 'currencies_manage', 'Manage currencies and exchange rates'),
75 (11, 'vendors_manage', 'Manage vendors'),
76 (11, 'contracts_manage', 'Manage contracts'),
77 (11, 'period_manage', 'Manage budgets'),
78 (11, 'budget_manage', 'Manage funds'),
79 (11, 'budget_modify', 'Modify funds (can''t create lines, but can modify existing ones)'),
80 (11, 'planning_manage', 'Manage budget plannings'),
81 (11, 'order_manage', 'Manage baskets and order lines'),
82 (11, 'order_manage_all', 'Manage all baskets and order lines, regardless of restrictions on them'),
83 (11, 'issue_manage', 'Manage vendor issues'),
84 (11, 'group_manage', 'Manage basket groups'),
85 (11, 'order_receive', 'Receive orders and manage shipments'),
86 (11, 'budget_add_del', 'Add and delete funds (but can''t modify funds)'),
87 (11, 'budget_manage_all', 'Manage all funds'),
88 (11, 'edi_manage', 'Manage EDIFACT transmissions'),
89 (11, 'reopen_closed_invoices', 'Reopen closed invoices'),
90 (11, 'edit_invoices', 'Edit invoices'),
91 (11, 'delete_invoices', 'Delete invoices'),
92 (11, 'merge_invoices', 'Merge invoices'),
93 (11, 'delete_baskets', 'Delete baskets'),
94 (12, 'suggestions_manage', 'Manage purchase suggestions'),
95 (13, 'edit_additional_contents', 'Write additional contents for the OPAC and staff interfaces (news and HTML customizations)'),
96 (13, 'label_creator', 'Create printable labels and barcodes from catalog and patron data'),
97 (13, 'edit_calendar', 'Define days when the library is closed'),
98 (13, 'moderate_comments', 'Moderate patron comments'),
99 (13, 'edit_notices', 'Define notices'),
100 (13, 'edit_notice_status_triggers', 'Set notice/status triggers for overdue items'),
101 (13, 'edit_quotes', 'Edit quotes for quote-of-the-day feature'),
102 (13, 'view_system_logs', 'Browse the system logs'),
103 (13, 'inventory', 'Perform inventory (stocktaking) of your catalog'),
104 (13, 'stage_marc_import', 'Stage MARC records into the reservoir'),
105 (13, 'manage_staged_marc', 'Manage staged MARC records, including completing and reversing imports'),
106 (13, 'export_catalog', 'Export bibliographic and holdings data'),
107 (13, 'import_patrons', 'Import patron data'),
108 (13, 'edit_patrons', 'Perform batch modification of patrons'),
109 (13, 'delete_anonymize_patrons', 'Delete old borrowers and anonymize circulation history (deletes borrower checkout history)'),
110 (13, 'batch_extend_due_dates', 'Perform batch extend due dates'),
111 (13, 'batch_upload_patron_images', 'Upload patron images in a batch or one at a time'),
112 (13, 'schedule_tasks', 'Schedule tasks to run'),
113 (13, 'items_batchmod', 'Perform batch modification of items'),
114 (13, 'items_batchmod_restricted', 'Limit batch item modification to subfields defined in the SubfieldsToAllowForRestrictedBatchmod preference (please note that items_batchmod is still required)'),
115 (13, 'items_batchdel', 'Perform batch deletion of items'),
116 (13, 'manage_csv_profiles', 'Manage CSV export profiles'),
117 (13, 'moderate_tags', 'Moderate patron tags'),
118 (13, 'rotating_collections', 'Manage rotating collections'),
119 (13, 'upload_local_cover_images', 'Upload local cover images'),
120 (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
121 (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
122 (13, 'marc_modification_templates', 'Manage marc modification templates'),
123 (13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
124 (13, 'access_files', 'Access to the files stored on the server'),
125 (13, 'upload_general_files', 'Upload any file'),
126 (13, 'upload_manage', 'Manage uploaded files'),
127 (15, 'check_expiration', 'Check the expiration of a serial'),
128 (15, 'claim_serials', 'Claim missing serials'),
129 (15, 'create_subscription', 'Create a new subscription'),
130 (15, 'delete_subscription', 'Delete an existing subscription'),
131 (15, 'edit_subscription', 'Edit an existing subscription'),
132 (15, 'receive_serials', 'Serials receiving'),
133 (15, 'renew_subscription', 'Renew a subscription'),
134 (15, 'routing', 'Routing'),
135 (15, 'superserials', 'Manage subscriptions from any branch (only applies when IndependentBranches is used)'),
136 (16, 'execute_reports', 'Execute SQL reports'),
137 (16, 'create_reports', 'Create SQL reports'),
138 (16, 'delete_reports', 'Delete SQL reports'),
139 (18, 'manage_courses', 'Add, edit and delete courses'),
140 (18, 'add_reserves', 'Add course reserves'),
141 (18, 'delete_reserves', 'Remove course reserves'),
142 (19, 'manage', 'Manage plugins ( install / uninstall )'),
143 (19, 'tool', 'Use tool plugins'),
144 (19, 'report', 'Use report plugins'),
145 (19, 'admin', 'Use administrative plugins'),
146 (19, 'configure', 'Configure plugins'),
147 (20, 'delete_public_lists', 'Delete public lists'),
148 (20, 'edit_public_lists', 'Edit public lists'),
149 (20, 'edit_public_list_contents', 'Edit public list contents'),
150 (21, 'edit_templates', 'Create and update club templates'),
151 (21, 'edit_clubs', 'Create and update clubs'),
152 (21, 'enroll', 'Enroll patrons in clubs'),
153 (23, 'self_checkin_module', 'Log into the self check-in module'),
154 (23, 'self_checkout_module', 'Perform self checkout at the OPAC. It should be used for the patron matching the AutoSelfCheckID'),
155 (24, 'manage_rotas', 'Create, edit and delete rotas'),
156 (24, 'manage_rota_items', 'Add and remove items from rotas'),
157 (25, 'anonymous_refund', 'Perform refund actions from cash registers'),
158 (25, 'cashup', 'Perform cash register cashup action'),
159 (25, 'takepayment', 'Access the point of sale page and take payments'),
160 (26, 'manage_problem_reports', 'Manage OPAC problem reports'),
161 (27, 'manage_recalls', 'Manage recalls for patrons')