1 --002.schema.config.sql:
2 INSERT INTO config.bib_source (id, quality, source, transcendant, can_have_copies) VALUES
3 (1, 90, oils_i18n_gettext(1, 'oclc', 'cbs', 'source'), FALSE, TRUE);
4 INSERT INTO config.bib_source (id, quality, source, transcendant, can_have_copies) VALUES
5 (2, 10, oils_i18n_gettext(2, 'System Local', 'cbs', 'source'), FALSE, TRUE);
6 INSERT INTO config.bib_source (id, quality, source, transcendant, can_have_copies) VALUES
7 (3, 1, oils_i18n_gettext(3, 'Project Gutenberg', 'cbs', 'source'), TRUE, TRUE);
8 SELECT SETVAL('config.bib_source_id_seq'::TEXT, 100);
10 INSERT INTO biblio.peer_type (id,name) VALUES
11 (1,oils_i18n_gettext(1,'Bound Volume','bpt','name')),
12 (2,oils_i18n_gettext(2,'Bilingual','bpt','name')),
13 (3,oils_i18n_gettext(3,'Back-to-back','bpt','name')),
14 (4,oils_i18n_gettext(4,'Set','bpt','name')),
15 (5,oils_i18n_gettext(5,'e-Reader Preload','bpt','name'));
16 SELECT SETVAL('biblio.peer_type_id_seq'::TEXT, 100);
18 INSERT INTO config.standing (id, value) VALUES (1, oils_i18n_gettext(1, 'Good', 'cst', 'value'));
19 INSERT INTO config.standing (id, value) VALUES (2, oils_i18n_gettext(2, 'Barred', 'cst', 'value'));
20 SELECT SETVAL('config.standing_id_seq'::TEXT, 100);
22 INSERT INTO config.standing_penalty (id,name,label,block_list,staff_alert)
23 VALUES (1,'PATRON_EXCEEDS_FINES',oils_i18n_gettext(1, 'Patron exceeds fine threshold', 'csp', 'label'),'CIRC|FULFILL|HOLD|CAPTURE|RENEW', TRUE);
24 INSERT INTO config.standing_penalty (id,name,label,block_list,staff_alert)
25 VALUES (2,'PATRON_EXCEEDS_OVERDUE_COUNT',oils_i18n_gettext(2, 'Patron exceeds max overdue item threshold', 'csp', 'label'),'CIRC|FULFILL|HOLD|CAPTURE|RENEW', TRUE);
26 INSERT INTO config.standing_penalty (id,name,label,block_list,staff_alert)
27 VALUES (3,'PATRON_EXCEEDS_CHECKOUT_COUNT',oils_i18n_gettext(3, 'Patron exceeds max checked out item threshold', 'csp', 'label'),'CIRC|FULFILL', TRUE);
28 INSERT INTO config.standing_penalty (id,name,label,block_list,staff_alert)
29 VALUES (4,'PATRON_EXCEEDS_COLLECTIONS_WARNING',oils_i18n_gettext(4, 'Patron exceeds pre-collections warning fine threshold', 'csp', 'label'),'CIRC|FULFILL|HOLD|CAPTURE|RENEW', TRUE);
30 INSERT INTO config.standing_penalty (id,name,label,block_list,staff_alert)
31 VALUES (5,'PATRON_EXCEEDS_LOST_COUNT',oils_i18n_gettext(5, 'Patron exceeds max lost item threshold', 'csp', 'label'),'CIRC|FULFILL|HOLD|CAPTURE|RENEW', TRUE);
33 INSERT INTO config.standing_penalty (id,name,label,staff_alert) VALUES (20,'ALERT_NOTE',oils_i18n_gettext(20, 'Alerting Note, no blocks', 'csp', 'label'),TRUE);
34 INSERT INTO config.standing_penalty (id,name,label) VALUES (21,'SILENT_NOTE',oils_i18n_gettext(21, 'Note, no blocks', 'csp', 'label'));
35 INSERT INTO config.standing_penalty (id,name,label,block_list,staff_alert) VALUES (22,'STAFF_C',oils_i18n_gettext(22, 'Alerting block on Circ', 'csp', 'label'),'CIRC', TRUE);
36 INSERT INTO config.standing_penalty (id,name,label,block_list,staff_alert) VALUES (23,'STAFF_CH',oils_i18n_gettext(23, 'Alerting block on Circ and Hold', 'csp', 'label'),'CIRC|HOLD', TRUE);
37 INSERT INTO config.standing_penalty (id,name,label,block_list,staff_alert) VALUES (24,'STAFF_CR',oils_i18n_gettext(24, 'Alerting block on Circ and Renew', 'csp', 'label'),'CIRC|RENEW', TRUE);
38 INSERT INTO config.standing_penalty (id,name,label,block_list,staff_alert) VALUES (25,'STAFF_CHR',oils_i18n_gettext(25, 'Alerting block on Circ, Hold and Renew', 'csp', 'label'),'CIRC|HOLD|RENEW', TRUE);
39 INSERT INTO config.standing_penalty (id,name,label,block_list,staff_alert) VALUES (26,'STAFF_HR',oils_i18n_gettext(26, 'Alerting block on Hold and Renew', 'csp', 'label'),'HOLD|RENEW', TRUE);
40 INSERT INTO config.standing_penalty (id,name,label,block_list,staff_alert) VALUES (27,'STAFF_H',oils_i18n_gettext(27, 'Alerting block on Hold', 'csp', 'label'),'HOLD', TRUE);
41 INSERT INTO config.standing_penalty (id,name,label,block_list,staff_alert) VALUES (28,'STAFF_R',oils_i18n_gettext(28, 'Alerting block on Renew', 'csp', 'label'),'RENEW', TRUE);
42 INSERT INTO config.standing_penalty (id,name,label) VALUES (29,'INVALID_PATRON_ADDRESS',oils_i18n_gettext(29, 'Patron has an invalid address', 'csp', 'label'));
43 INSERT INTO config.standing_penalty (id,name,label) VALUES (30,'PATRON_IN_COLLECTIONS',oils_i18n_gettext(30, 'Patron has been referred to a collections agency', 'csp', 'label'));
44 INSERT INTO config.standing_penalty (id, name, label, staff_alert, org_depth) VALUES
47 'INVALID_PATRON_EMAIL_ADDRESS',
50 'Patron had an invalid email address',
59 'INVALID_PATRON_DAY_PHONE',
62 'Patron had an invalid daytime phone number',
71 'INVALID_PATRON_EVENING_PHONE',
74 'Patron had an invalid evening phone number',
83 'INVALID_PATRON_OTHER_PHONE',
86 'Patron had an invalid other phone number',
95 SELECT SETVAL('config.standing_penalty_id_seq', 100);
97 INSERT INTO config.metabib_class ( name, label ) VALUES ( 'identifier', oils_i18n_gettext('identifier', 'Identifier', 'cmc', 'label') );
98 INSERT INTO config.metabib_class ( name, label ) VALUES ( 'keyword', oils_i18n_gettext('keyword', 'Keyword', 'cmc', 'label') );
99 INSERT INTO config.metabib_class ( name, label ) VALUES ( 'title', oils_i18n_gettext('title', 'Title', 'cmc', 'label'));
100 INSERT INTO config.metabib_class ( name, label ) VALUES ( 'author', oils_i18n_gettext('author', 'Author', 'cmc', 'label'));
101 INSERT INTO config.metabib_class ( name, label ) VALUES ( 'subject', oils_i18n_gettext('subject', 'Subject', 'cmc', 'label') );
102 INSERT INTO config.metabib_class ( name, label ) VALUES ( 'series', oils_i18n_gettext('series', 'Series', 'cmc', 'label') );
104 -- enable combined search for only the subject class by default
105 UPDATE config.metabib_class SET combined = TRUE WHERE name = 'subject';
107 -- some more from 002.schema.config.sql:
108 INSERT INTO config.xml_transform VALUES ( 'marcxml', 'http://www.loc.gov/MARC21/slim', 'marc', '---' );
109 INSERT INTO config.xml_transform VALUES ( 'mods', 'http://www.loc.gov/mods/', 'mods', '');
110 INSERT INTO config.xml_transform VALUES ( 'mods3', 'http://www.loc.gov/mods/v3', 'mods3', '');
111 INSERT INTO config.xml_transform VALUES ( 'mods32', 'http://www.loc.gov/mods/v3', 'mods32', '');
112 INSERT INTO config.xml_transform VALUES ( 'mods33', 'http://www.loc.gov/mods/v3', 'mods33', '');
113 INSERT INTO config.xml_transform VALUES ( 'marc21expand880', 'http://www.loc.gov/MARC21/slim', 'marc', '' );
114 INSERT INTO config.xml_transform VALUES ( 'mads21', 'http://www.loc.gov/mads/v2', 'mads21', '' );
117 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, facet_field, authority_xpath, browse_field ) VALUES
118 (1, 'series', 'seriestitle', oils_i18n_gettext(1, 'Series Title', 'cmf', 'label'), 'mods32', $$//mods32:mods/mods32:relatedItem[@type="series"]/mods32:titleInfo[not(@type="nfi")]$$, TRUE, '//@xlink:href', FALSE );
120 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, authority_xpath ) VALUES
121 (2, 'title', 'abbreviated', oils_i18n_gettext(2, 'Abbreviated Title', 'cmf', 'label'), 'mods32', $$//mods32:mods/mods32:titleInfo[mods32:title and (@type='abbreviated')]$$, '//@xlink:href' );
122 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, authority_xpath, browse_sort_xpath ) VALUES
123 (3, 'title', 'translated', oils_i18n_gettext(3, 'Translated Title', 'cmf', 'label'), 'mods32', $$//mods32:mods/mods32:titleInfo[mods32:title and (@type='translated-nfi')]$$, '//@xlink:href', $$*[local-name() != "nonSort"]$$ );
124 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, authority_xpath, browse_sort_xpath ) VALUES
125 (4, 'title', 'alternative', oils_i18n_gettext(4, 'Alternate Title', 'cmf', 'label'), 'mods32', $$//mods32:mods/mods32:titleInfo[mods32:title and starts-with(@type,'alternative')]$$, '//@xlink:href', $$*[local-name() != "nonSort"]$$ );
126 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, authority_xpath, browse_sort_xpath ) VALUES
127 (5, 'title', 'uniform', oils_i18n_gettext(5, 'Uniform Title', 'cmf', 'label'), 'mods32', $$//mods32:mods/mods32:titleInfo[mods32:title and (@type='uniform-nfi')]$$, '//@xlink:href', $$*[local-name() != "nonSort"]$$ );
128 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, authority_xpath, browse_field, display_field ) VALUES
129 (6, 'title', 'proper', oils_i18n_gettext(6, 'Title Proper', 'cmf', 'label'), 'mods32', $$//mods32:mods/mods32:titleNonfiling[mods32:title and not (@type)]$$, '//@xlink:href', FALSE,TRUE );
131 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, facet_xpath, facet_field , authority_xpath, browse_xpath) VALUES
132 (7, 'author', 'corporate', oils_i18n_gettext(7, 'Corporate Author', 'cmf', 'label'), 'mods32', $$//mods32:mods/mods32:name[@type='corporate' and (mods32:role/mods32:roleTerm[text()='creator'] or mods32:role/mods32:roleTerm[text()='aut'] or mods32:role/mods32:roleTerm[text()='cre'])]$$, $$//*[local-name()='namePart']$$, TRUE, '//@xlink:href',$$//*[local-name()='namePart']$$ ); -- /* to fool vim */;
133 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, facet_xpath, facet_field, authority_xpath, browse_xpath, display_field, display_xpath ) VALUES
134 (8, 'author', 'personal', oils_i18n_gettext(8, 'Personal Author', 'cmf', 'label'), 'mods32', $$//mods32:mods/mods32:name[@type='personal' and mods32:role/mods32:roleTerm[text()='creator']]$$, $$//*[local-name()='namePart']$$, TRUE, '//@xlink:href',$$//*[local-name()='namePart']$$,TRUE,$$//*[local-name()='namePart']$$ ); -- /* to fool vim */;
135 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, facet_xpath, facet_field, authority_xpath, browse_xpath ) VALUES
136 (9, 'author', 'conference', oils_i18n_gettext(9, 'Conference Author', 'cmf', 'label'), 'mods32', $$//mods32:mods/mods32:name[@type='conference' and mods32:role/mods32:roleTerm[text()='creator']]$$, $$//*[local-name()='namePart']$$, TRUE, '//@xlink:href',$$//*[local-name()='namePart']$$ ); -- /* to fool vim */;
137 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, facet_xpath, facet_field, authority_xpath, browse_xpath ) VALUES
138 (10, 'author', 'other', oils_i18n_gettext(10, 'Other Author', 'cmf', 'label'), 'mods32', $$//mods32:mods/mods32:name[@type='personal' and not(mods32:role/mods32:roleTerm[text()='creator'])]$$, $$//*[local-name()='namePart']$$, TRUE, '//@xlink:href',$$//*[local-name()='namePart']$$ ); -- /* to fool vim */;
140 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, facet_field, authority_xpath, browse_field ) VALUES
141 (11, 'subject', 'geographic', oils_i18n_gettext(11, 'Geographic Subject', 'cmf', 'label'), 'mods32', $$//mods32:mods/mods32:subject/mods32:geographic$$, TRUE, '//@xlink:href', FALSE );
142 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, facet_xpath, facet_field, authority_xpath ) VALUES
143 (12, 'subject', 'name', oils_i18n_gettext(12, 'Name Subject', 'cmf', 'label'), 'mods32', $$//mods32:mods/mods32:subject/mods32:name$$, $$//*[local-name()='namePart']$$, TRUE, '//@xlink:href' ); -- /* to fool vim */;
144 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, facet_field, authority_xpath, browse_field ) VALUES
145 (13, 'subject', 'temporal', oils_i18n_gettext(13, 'Temporal Subject', 'cmf', 'label'), 'mods32', $$//mods32:mods/mods32:subject/mods32:temporal$$, TRUE, '//@xlink:href', FALSE );
146 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, facet_field, authority_xpath, browse_field ) VALUES
147 (14, 'subject', 'topic', oils_i18n_gettext(14, 'Topic Subject', 'cmf', 'label'), 'mods32', $$//mods32:mods/mods32:subject/mods32:topic$$, TRUE, '//@xlink:href', FALSE );
148 --INSERT INTO config.metabib_field ( id, field_class, name, format, xpath ) VALUES
149 -- ( id, field_class, name, xpath ) VALUES ( 'subject', 'genre', 'mods32', $$//mods32:mods/mods32:genre$$ );
150 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, browse_field, display_field ) VALUES
151 (15, 'keyword', 'keyword', oils_i18n_gettext(15, 'General Keywords', 'cmf', 'label'), 'mods32', $$//mods32:mods/*[not(local-name()='originInfo')]$$, FALSE, FALSE ); -- /* to fool vim */;
152 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, browse_field, display_field ) VALUES
153 (16, 'subject', 'complete', oils_i18n_gettext(16, 'All Subjects', 'cmf', 'label'), 'mods32', $$//mods32:mods/mods32:subject$$, FALSE, TRUE );
155 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, browse_field ) VALUES
156 (17, 'identifier', 'accession', oils_i18n_gettext(17, 'Accession Number', 'cmf', 'label'), 'marcxml', $$//marc:controlfield[@tag='001']$$, FALSE );
157 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, browse_field ) VALUES
158 (18, 'identifier', 'isbn', oils_i18n_gettext(18, 'ISBN', 'cmf', 'label'), 'marcxml', $$//marc:datafield[@tag='020']/marc:subfield[@code='a' or @code='z']$$, FALSE );
159 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, browse_field ) VALUES
160 (19, 'identifier', 'issn', oils_i18n_gettext(19, 'ISSN', 'cmf', 'label'), 'marcxml', $$//marc:datafield[@tag='022']/marc:subfield[@code='a' or @code='z']$$, FALSE );
161 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, browse_field ) VALUES
162 (20, 'identifier', 'upc', oils_i18n_gettext(20, 'UPC', 'cmf', 'label'), 'marcxml', $$//marc:datafield[@tag='024' and @ind1='1']/marc:subfield[@code='a' or @code='z']$$, FALSE );
163 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, browse_field ) VALUES
164 (21, 'identifier', 'ismn', oils_i18n_gettext(21, 'ISMN', 'cmf', 'label'), 'marcxml', $$//marc:datafield[@tag='024' and @ind1='2']/marc:subfield[@code='a' or @code='z']$$, FALSE );
165 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, browse_field ) VALUES
166 (22, 'identifier', 'ean', oils_i18n_gettext(22, 'EAN', 'cmf', 'label'), 'marcxml', $$//marc:datafield[@tag='024' and @ind1='3']/marc:subfield[@code='a' or @code='z']$$, FALSE );
167 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, browse_field ) VALUES
168 (23, 'identifier', 'isrc', oils_i18n_gettext(23, 'ISRC', 'cmf', 'label'), 'marcxml', $$//marc:datafield[@tag='024' and @ind1='0']/marc:subfield[@code='a' or @code='z']$$, FALSE );
169 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, browse_field ) VALUES
170 (24, 'identifier', 'sici', oils_i18n_gettext(24, 'SICI', 'cmf', 'label'), 'marcxml', $$//marc:datafield[@tag='024' and @ind1='4']/marc:subfield[@code='a' or @code='z']$$, FALSE );
171 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, browse_field ) VALUES
172 (25, 'identifier', 'bibcn', oils_i18n_gettext(25, 'Local Free-Text Call Number', 'cmf', 'label'), 'marcxml', $$//marc:datafield[@tag='099']$$, FALSE );
173 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, browse_field ) VALUES
174 (26, 'identifier', 'tcn', oils_i18n_gettext(26, 'Title Control Number', 'cmf', 'label'), 'marcxml', $$//marc:datafield[@tag='901']/marc:subfield[@code='a']$$, FALSE );
175 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, browse_field ) VALUES
176 (27, 'identifier', 'bibid', oils_i18n_gettext(27, 'Internal ID', 'cmf', 'label'), 'marcxml', $$//marc:datafield[@tag='901']/marc:subfield[@code='c']$$, FALSE );
177 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, search_field, facet_field, browse_field) VALUES
178 (28, 'identifier', 'authority_id', oils_i18n_gettext(28, 'Authority Record ID', 'cmf', 'label'), 'marcxml', '//marc:datafield/marc:subfield[@code="0"]', FALSE, TRUE, FALSE);
179 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, browse_field) VALUES
180 (29, 'identifier', 'scn', oils_i18n_gettext(29, 'System Control Number', 'cmf', 'label'), 'marcxml', $$//marc:datafield[@tag='035']/marc:subfield[@code="a"]$$, FALSE);
181 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, browse_field) VALUES
182 (30, 'identifier', 'lccn', oils_i18n_gettext(30, 'LC Control Number', 'cmf', 'label'), 'marcxml', $$//marc:datafield[@tag='010']/marc:subfield[@code="a" or @code='z']$$, FALSE);
183 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, search_field, authority_xpath, browse_field, browse_sort_xpath ) VALUES
184 (31, 'title', 'browse', oils_i18n_gettext(31, 'Title Proper (Browse)', 'cmf', 'label'), 'mods32', $$//mods32:mods/mods32:titleBrowse$$, FALSE, '//@xlink:href', TRUE, $$*[local-name() != "nonSort"]$$ );
185 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, search_field, authority_xpath, browse_field, browse_sort_xpath ) VALUES
186 (32, 'series', 'browse', oils_i18n_gettext(32, 'Series Title (Browse)', 'cmf', 'label'), 'mods32', $$//mods32:mods/mods32:relatedItem[@type="series"]/mods32:titleInfo[@type="nfi"]$$, FALSE, '//@xlink:href', TRUE, $$*[local-name() != "nonSort"]$$ );
188 INSERT INTO config.metabib_field ( id, field_class, name, label, format, xpath, browse_field, facet_field, facet_xpath, joiner ) VALUES
189 (33, 'identifier', 'genre', oils_i18n_gettext(33, 'Genre', 'cmf', 'label'), 'marcxml', $$//marc:datafield[@tag='655']$$, FALSE, TRUE, $$//*[local-name()='subfield' and contains('abvxyz',@code)]$$, ' -- ' ); -- /* to fool vim */;
191 UPDATE config.metabib_field SET joiner = ' -- ' WHERE field_class = 'subject' AND name NOT IN ('name');
193 INSERT INTO config.metabib_field ( id, field_class, name, label,
194 format, xpath, search_field, browse_field, authority_xpath, joiner ) VALUES
195 (34, 'subject', 'topic_browse', oils_i18n_gettext(34, 'Topic Browse', 'cmf', 'label'),
196 'mods32', $$//mods32:mods/mods32:subject[local-name(./*[1]) = "topic"]$$, FALSE, TRUE, '//@xlink:href', ' -- ' ); -- /* to fool vim */;
198 INSERT INTO config.metabib_field ( id, field_class, name, label,
199 format, xpath, search_field, browse_field, authority_xpath, joiner ) VALUES
200 (35, 'subject', 'geographic_browse', oils_i18n_gettext(35, 'Geographic Name Browse', 'cmf', 'label'),
201 'mods32', $$//mods32:mods/mods32:subject[local-name(./*[1]) = "geographic"]$$, FALSE, TRUE, '//@xlink:href', ' -- ' ); -- /* to fool vim */;
203 INSERT INTO config.metabib_field ( id, field_class, name, label,
204 format, xpath, search_field, browse_field, authority_xpath, joiner ) VALUES
205 (36, 'subject', 'temporal_browse', oils_i18n_gettext(36, 'Temporal Term Browse', 'cmf', 'label'),
206 'mods32', $$//mods32:mods/mods32:subject[local-name(./*[1]) = "temporal"]$$, FALSE, TRUE, '//@xlink:href', ' -- ' ); -- /* to fool vim */;
208 INSERT INTO config.metabib_field ( id, field_class, name, label,
209 format, xpath, display_field, display_xpath ) VALUES
210 (37, 'author', 'creator', oils_i18n_gettext(37, 'All Creators', 'cmf', 'label'),
211 'mods32', $$//mods32:mods/mods32:name[mods32:role/mods32:roleTerm[text()='creator']]$$, TRUE, $$//*[local-name()='namePart']$$ ); -- /* to fool vim */;
214 INSERT INTO config.metabib_field_index_norm_map (field,norm)
217 FROM config.metabib_field m,
218 config.index_normalizer i
219 WHERE i.func IN ('naco_normalize')
220 AND m.id IN (34, 35, 36);
222 SELECT SETVAL('config.metabib_field_id_seq', GREATEST(1000, (SELECT MAX(id) FROM config.metabib_field)));
224 INSERT INTO config.display_field_map (name, field, multi) VALUES
226 ('author', 8, FALSE),
227 ('creators', 37, TRUE),
228 ('subject', 16, TRUE),
232 INSERT INTO config.metabib_search_alias (alias,field_class) VALUES ('kw','keyword');
233 INSERT INTO config.metabib_search_alias (alias,field_class) VALUES ('eg.keyword','keyword');
234 INSERT INTO config.metabib_search_alias (alias,field_class) VALUES ('dc.publisher','keyword');
235 INSERT INTO config.metabib_search_alias (alias,field_class) VALUES ('bib.subjecttitle','keyword');
236 INSERT INTO config.metabib_search_alias (alias,field_class) VALUES ('bib.genre','keyword');
237 INSERT INTO config.metabib_search_alias (alias,field_class) VALUES ('bib.edition','keyword');
238 INSERT INTO config.metabib_search_alias (alias,field_class) VALUES ('srw.serverchoice','keyword');
240 INSERT INTO config.metabib_search_alias (alias,field_class) VALUES ('id','identifier');
241 INSERT INTO config.metabib_search_alias (alias,field_class) VALUES ('dc.identifier','identifier');
242 INSERT INTO config.metabib_search_alias (alias,field_class,field) VALUES ('eg.isbn','identifier', 18);
243 INSERT INTO config.metabib_search_alias (alias,field_class,field) VALUES ('eg.issn','identifier', 19);
244 INSERT INTO config.metabib_search_alias (alias,field_class,field) VALUES ('eg.upc','identifier', 20);
245 INSERT INTO config.metabib_search_alias (alias,field_class,field) VALUES ('eg.callnumber','identifier', 25);
246 INSERT INTO config.metabib_search_alias (alias,field_class,field) VALUES ('eg.tcn','identifier', 26);
247 INSERT INTO config.metabib_search_alias (alias,field_class,field) VALUES ('eg.bibid','identifier', 27);
249 INSERT INTO config.metabib_search_alias (alias,field_class) VALUES ('au','author');
250 INSERT INTO config.metabib_search_alias (alias,field_class) VALUES ('name','author');
251 INSERT INTO config.metabib_search_alias (alias,field_class) VALUES ('creator','author');
252 INSERT INTO config.metabib_search_alias (alias,field_class) VALUES ('eg.author','author');
253 INSERT INTO config.metabib_search_alias (alias,field_class) VALUES ('eg.name','author');
254 INSERT INTO config.metabib_search_alias (alias,field_class) VALUES ('dc.creator','author');
255 INSERT INTO config.metabib_search_alias (alias,field_class) VALUES ('dc.contributor','author');
256 INSERT INTO config.metabib_search_alias (alias,field_class) VALUES ('bib.name','author');
257 INSERT INTO config.metabib_search_alias (alias,field_class,field) VALUES ('bib.namepersonal','author',8);
258 INSERT INTO config.metabib_search_alias (alias,field_class,field) VALUES ('bib.namepersonalfamily','author',8);
259 INSERT INTO config.metabib_search_alias (alias,field_class,field) VALUES ('bib.namepersonalgiven','author',8);
260 INSERT INTO config.metabib_search_alias (alias,field_class,field) VALUES ('bib.namecorporate','author',7);
261 INSERT INTO config.metabib_search_alias (alias,field_class,field) VALUES ('bib.nameconference','author',9);
263 INSERT INTO config.metabib_search_alias (alias,field_class) VALUES ('ti','title');
264 INSERT INTO config.metabib_search_alias (alias,field_class) VALUES ('eg.title','title');
265 INSERT INTO config.metabib_search_alias (alias,field_class) VALUES ('dc.title','title');
266 INSERT INTO config.metabib_search_alias (alias,field_class,field) VALUES ('bib.titleabbreviated','title',2);
267 INSERT INTO config.metabib_search_alias (alias,field_class,field) VALUES ('bib.titleuniform','title',5);
268 INSERT INTO config.metabib_search_alias (alias,field_class,field) VALUES ('bib.titletranslated','title',3);
269 INSERT INTO config.metabib_search_alias (alias,field_class,field) VALUES ('bib.titlealternative','title',4);
270 INSERT INTO config.metabib_search_alias (alias,field_class,field) VALUES ('bib.title','title',2);
272 INSERT INTO config.metabib_search_alias (alias,field_class) VALUES ('su','subject');
273 INSERT INTO config.metabib_search_alias (alias,field_class) VALUES ('eg.subject','subject');
274 INSERT INTO config.metabib_search_alias (alias,field_class) VALUES ('dc.subject','subject');
275 INSERT INTO config.metabib_search_alias (alias,field_class,field) VALUES ('bib.subjectplace','subject',11);
276 INSERT INTO config.metabib_search_alias (alias,field_class,field) VALUES ('bib.subjectname','subject',12);
277 INSERT INTO config.metabib_search_alias (alias,field_class,field) VALUES ('bib.subjectoccupation','subject',16);
279 INSERT INTO config.metabib_search_alias (alias,field_class) VALUES ('se','series');
280 INSERT INTO config.metabib_search_alias (alias,field_class) VALUES ('eg.series','series');
281 INSERT INTO config.metabib_search_alias (alias,field_class,field) VALUES ('bib.titleseries','series',1);
284 INSERT INTO config.non_cataloged_type ( id, owning_lib, name ) VALUES ( 1, 1, oils_i18n_gettext(1, 'Paperback Book', 'cnct', 'name') );
285 SELECT SETVAL('config.non_cataloged_type_id_seq'::TEXT, 100);
287 INSERT INTO config.identification_type ( id, name ) VALUES
288 ( 1, oils_i18n_gettext(1, 'Drivers License', 'cit', 'name') );
289 INSERT INTO config.identification_type ( id, name ) VALUES
290 ( 3, oils_i18n_gettext(3, 'Other', 'cit', 'name') );
291 SELECT SETVAL('config.identification_type_id_seq'::TEXT, 100);
293 INSERT INTO config.rule_circ_duration VALUES
294 (1, oils_i18n_gettext(1, '7_days_0_renew', 'crcd', 'name'), '7 days', '7 days', '7 days', 0);
295 INSERT INTO config.rule_circ_duration VALUES
296 (2, oils_i18n_gettext(2, '28_days_2_renew', 'crcd', 'name'), '28 days', '28 days', '28 days', 2);
297 INSERT INTO config.rule_circ_duration VALUES
298 (3, oils_i18n_gettext(3, '3_months_0_renew', 'crcd', 'name'), '3 months', '3 months', '3 months', 0);
299 INSERT INTO config.rule_circ_duration VALUES
300 (4, oils_i18n_gettext(4, '3_days_1_renew', 'crcd', 'name'), '3 days', '3 days', '3 days', 1);
301 INSERT INTO config.rule_circ_duration VALUES
302 (5, oils_i18n_gettext(5, '2_months_2_renew', 'crcd', 'name'), '2 months', '2 months', '2 months', 2);
303 INSERT INTO config.rule_circ_duration VALUES
304 (6, oils_i18n_gettext(6, '35_days_1_renew', 'crcd', 'name'), '35 days', '35 days', '35 days', 1);
305 INSERT INTO config.rule_circ_duration VALUES
306 (7, oils_i18n_gettext(7, '7_days_2_renew', 'crcd', 'name'), '7 days', '7 days', '7 days', 2);
307 INSERT INTO config.rule_circ_duration VALUES
308 (8, oils_i18n_gettext(8, '1_hour_2_renew', 'crcd', 'name'), '1 hour', '1 hour', '1 hour', 2);
309 INSERT INTO config.rule_circ_duration VALUES
310 (9, oils_i18n_gettext(9, '28_days_0_renew', 'crcd', 'name'), '28 days', '28 days', '28 days', 0);
311 INSERT INTO config.rule_circ_duration VALUES
312 (10, oils_i18n_gettext(10, '14_days_2_renew', 'crcd', 'name'), '14 days', '14 days', '14 days', 2);
313 INSERT INTO config.rule_circ_duration VALUES
314 (11, oils_i18n_gettext(11, 'default', 'crcd', 'name'), '21 days', '14 days', '7 days', 2);
315 SELECT SETVAL('config.rule_circ_duration_id_seq'::TEXT, 100);
317 INSERT INTO config.rule_max_fine VALUES
318 (1, oils_i18n_gettext(1, 'default', 'crmf', 'name'), 5.00);
319 INSERT INTO config.rule_max_fine VALUES
320 (2, oils_i18n_gettext(2, 'overdue_min', 'crmf', 'name'), 5.00);
321 INSERT INTO config.rule_max_fine VALUES
322 (3, oils_i18n_gettext(3, 'overdue_mid', 'crmf', 'name'), 10.00);
323 INSERT INTO config.rule_max_fine VALUES
324 (4, oils_i18n_gettext(4, 'overdue_max', 'crmf', 'name'), 100.00);
325 INSERT INTO config.rule_max_fine VALUES
326 (5, oils_i18n_gettext(5, 'overdue_equip_min', 'crmf', 'name'), 25.00);
327 INSERT INTO config.rule_max_fine VALUES
328 (6, oils_i18n_gettext(6, 'overdue_equip_mid', 'crmf', 'name'), 25.00);
329 INSERT INTO config.rule_max_fine VALUES
330 (7, oils_i18n_gettext(7, 'overdue_equip_max', 'crmf', 'name'), 100.00);
331 SELECT SETVAL('config.rule_max_fine_id_seq'::TEXT, 100);
333 INSERT INTO config.rule_recurring_fine VALUES
334 (1, oils_i18n_gettext(1, 'default', 'crrf', 'name'), 0.50, 0.10, 0.05, '1 day', '1 day');
335 INSERT INTO config.rule_recurring_fine VALUES
336 (2, oils_i18n_gettext(2, '10_cent_per_day', 'crrf', 'name'), 0.50, 0.10, 0.10, '1 day', '1 day');
337 INSERT INTO config.rule_recurring_fine VALUES
338 (3, oils_i18n_gettext(3, '50_cent_per_day', 'crrf', 'name'), 0.50, 0.50, 0.50, '1 day', '1 day');
339 SELECT SETVAL('config.rule_recurring_fine_id_seq'::TEXT, 100);
341 INSERT INTO config.rule_age_hold_protect VALUES
342 (1, oils_i18n_gettext(1, '3month', 'crahp', 'name'), '3 months', 0);
343 INSERT INTO config.rule_age_hold_protect VALUES
344 (2, oils_i18n_gettext(2, '6month', 'crahp', 'name'), '6 months', 2);
345 SELECT SETVAL('config.rule_age_hold_protect_id_seq'::TEXT, 100);
347 INSERT INTO config.copy_status (id,name,holdable,opac_visible,copy_active,is_available) VALUES (0,oils_i18n_gettext(0, 'Available', 'ccs', 'name'),'t','t','t','t');
348 INSERT INTO config.copy_status (id,name,holdable,opac_visible,copy_active,restrict_copy_delete) VALUES (1,oils_i18n_gettext(1, 'Checked out', 'ccs', 'name'),'t','t','t','t');
349 INSERT INTO config.copy_status (id,name) VALUES (2,oils_i18n_gettext(2, 'Bindery', 'ccs', 'name'));
350 INSERT INTO config.copy_status (id,name,restrict_copy_delete) VALUES (3,oils_i18n_gettext(3, 'Lost', 'ccs', 'name'),'t');
351 INSERT INTO config.copy_status (id,name) VALUES (4,oils_i18n_gettext(4, 'Missing', 'ccs', 'name'));
352 INSERT INTO config.copy_status (id,name,holdable,opac_visible) VALUES (5,oils_i18n_gettext(5, 'In process', 'ccs', 'name'),'t','t');
353 INSERT INTO config.copy_status (id,name,holdable,opac_visible,restrict_copy_delete) VALUES (6,oils_i18n_gettext(6, 'In transit', 'ccs', 'name'),'t','t','t');
354 INSERT INTO config.copy_status (id,name,holdable,opac_visible,copy_active,is_available) VALUES (7,oils_i18n_gettext(7, 'Reshelving', 'ccs', 'name'),'t','t','t','t');
355 INSERT INTO config.copy_status (id,name,holdable,opac_visible,copy_active,restrict_copy_delete) VALUES (8,oils_i18n_gettext(8, 'On holds shelf', 'ccs', 'name'),'t','t','t','t');
356 INSERT INTO config.copy_status (id,name,holdable,opac_visible) VALUES (9,oils_i18n_gettext(9, 'On order', 'ccs', 'name'),'t','t');
357 INSERT INTO config.copy_status (id,name,copy_active) VALUES (10,oils_i18n_gettext(10, 'ILL', 'ccs', 'name'),'t');
358 INSERT INTO config.copy_status (id,name) VALUES (11,oils_i18n_gettext(11, 'Cataloging', 'ccs', 'name'));
359 INSERT INTO config.copy_status (id,name,opac_visible,copy_active) VALUES (12,oils_i18n_gettext(12, 'Reserves', 'ccs', 'name'),'t','t');
360 INSERT INTO config.copy_status (id,name) VALUES (13,oils_i18n_gettext(13, 'Discard/Weed', 'ccs', 'name'));
361 INSERT INTO config.copy_status (id,name) VALUES (14,oils_i18n_gettext(14, 'Damaged', 'ccs', 'name'));
362 INSERT INTO config.copy_status (id,name,copy_active) VALUES (15,oils_i18n_gettext(15, 'On reservation shelf', 'ccs', 'name'),'t');
363 INSERT INTO config.copy_status
364 (id, name, holdable, opac_visible, copy_active, restrict_copy_delete)
365 VALUES (16, oils_i18n_gettext(16, 'Long Overdue', 'ccs', 'name'), 'f', 'f', 'f', 't');
366 INSERT INTO config.copy_status
367 (id, name, holdable, opac_visible, copy_active, restrict_copy_delete)
368 VALUES (17, oils_i18n_gettext(17, 'Lost and Paid', 'ccs', 'name'), 'f', 'f', 'f', 't');
369 INSERT INTO config.copy_status(id,name,holdable,opac_visible) VALUES (18,oils_i18n_gettext(18, 'Canceled Transit', 'ccs', 'name'),'t','t');
372 SELECT SETVAL('config.copy_status_id_seq'::TEXT, 100);
374 INSERT INTO config.net_access_level (id, name) VALUES
375 (1, oils_i18n_gettext(1, 'Filtered', 'cnal', 'name'));
376 INSERT INTO config.net_access_level (id, name) VALUES
377 (2, oils_i18n_gettext(2, 'Unfiltered', 'cnal', 'name'));
378 INSERT INTO config.net_access_level (id, name) VALUES
379 (3, oils_i18n_gettext(3, 'No Access', 'cnal', 'name'));
380 SELECT SETVAL('config.net_access_level_id_seq'::TEXT, 100);
383 INSERT INTO config.i18n_locale (code,marc_code,name,description)
384 VALUES ('en-US', 'eng', oils_i18n_gettext('en-US', 'English (US)', 'i18n_l', 'name'),
385 oils_i18n_gettext('en-US', 'American English', 'i18n_l', 'description'));
386 INSERT INTO config.i18n_locale (code,marc_code,name,description)
387 VALUES ('cs-CZ', 'cze', oils_i18n_gettext('cs-CZ', 'Czech', 'i18n_l', 'name'),
388 oils_i18n_gettext('cs-CZ', 'Czech', 'i18n_l', 'description'));
389 INSERT INTO config.i18n_locale (code,marc_code,name,description)
390 VALUES ('en-CA', 'eng', oils_i18n_gettext('en-CA', 'English (Canada)', 'i18n_l', 'name'),
391 oils_i18n_gettext('en-CA', 'Canadian English', 'i18n_l', 'description'));
392 INSERT INTO config.i18n_locale (code,marc_code,name,description)
393 VALUES ('fi-FI', 'fin', oils_i18n_gettext('fi-FI', 'Finnish', 'i18n_l', 'name'),
394 oils_i18n_gettext('fi-FI', 'Finnish', 'i18n_l', 'description'));
395 INSERT INTO config.i18n_locale (code,marc_code,name,description)
396 VALUES ('fr-CA', 'fre', oils_i18n_gettext('fr-CA', 'French (Canada)', 'i18n_l', 'name'),
397 oils_i18n_gettext('fr-CA', 'Canadian French', 'i18n_l', 'description'));
398 INSERT INTO config.i18n_locale (code,marc_code,name,description)
399 VALUES ('hy-AM', 'arm', oils_i18n_gettext('hy-AM', 'Armenian', 'i18n_l', 'name'),
400 oils_i18n_gettext('hy-AM', 'Armenian', 'i18n_l', 'description'));
401 INSERT INTO config.i18n_locale (code,marc_code,name,description)
402 VALUES ('es-ES', 'spa', oils_i18n_gettext('es-ES', 'Spanish', 'i18n_l', 'name'),
403 oils_i18n_gettext('es-ES', 'Spanish', 'i18n_l', 'description'));
404 --INSERT INTO config.i18n_locale (code,marc_code,name,description)
405 -- VALUES ('es-US', 'spa', oils_i18n_gettext('es-US', 'Spanish (US)', 'i18n_l', 'name'),
406 -- oils_i18n_gettext('es-US', 'American Spanish', 'i18n_l', 'description'));
407 --INSERT INTO config.i18n_locale (code,marc_code,name,description)
408 -- VALUES ('es-MX', 'spa', oils_i18n_gettext('es-MX', 'Spanish (Mexico)', 'i18n_l', 'name'),
409 -- oils_i18n_gettext('es-MX', 'Mexican Spanish', 'i18n_l', 'description'));
410 INSERT INTO config.i18n_locale (code,marc_code,name,description)
411 VALUES ('ru-RU', 'rus', oils_i18n_gettext('ru-RU', 'Russian', 'i18n_l', 'name'),
412 oils_i18n_gettext('ru-RU', 'Russian', 'i18n_l', 'description'));
413 INSERT INTO config.i18n_locale (code,marc_code,name,description,rtl)
414 VALUES ('ar-JO', 'ara', oils_i18n_gettext('ar-JO', 'Arabic (Jordan)', 'i18n_l', 'name'),
415 oils_i18n_gettext('ar-JO', 'Arabic (Jordan)', 'i18n_l', 'description'), 'true');
417 -- Z39.50 server attributes
419 INSERT INTO config.z3950_source (name, label, host, port, db, auth)
420 VALUES ('loc', oils_i18n_gettext('loc', 'Library of Congress', 'czs', 'label'), 'lx2.loc.gov', 210, 'LCDB', FALSE);
421 INSERT INTO config.z3950_source (name, label, host, port, db, auth)
422 VALUES ('oclc', oils_i18n_gettext('oclc', 'OCLC', 'czs', 'label'), 'zcat.oclc.org', 210, 'OLUCWorldCat', TRUE);
424 INSERT INTO config.z3950_attr (id, source, name, label, code, format)
425 VALUES (1, 'loc','tcn', oils_i18n_gettext(1, 'Title Control Number', 'cza', 'label'), 12, 1);
426 INSERT INTO config.z3950_attr (id, source, name, label, code, format)
427 VALUES (2, 'loc', 'isbn', oils_i18n_gettext(2, 'ISBN', 'cza', 'label'), 7, 6);
428 INSERT INTO config.z3950_attr (id, source, name, label, code, format)
429 VALUES (3, 'loc', 'lccn', oils_i18n_gettext(3, 'LCCN', 'cza', 'label'), 9, 6);
430 INSERT INTO config.z3950_attr (id, source, name, label, code, format)
431 VALUES (4, 'loc', 'author', oils_i18n_gettext(4, 'Author', 'cza', 'label'), 1003, 6);
432 INSERT INTO config.z3950_attr (id, source, name, label, code, format)
433 VALUES (5, 'loc', 'title', oils_i18n_gettext(5, 'Title', 'cza', 'label'), 4, 6);
434 INSERT INTO config.z3950_attr (id, source, name, label, code, format)
435 VALUES (6, 'loc', 'issn', oils_i18n_gettext(6, 'ISSN', 'cza', 'label'), 8, 1);
436 INSERT INTO config.z3950_attr (id, source, name, label, code, format)
437 VALUES (7, 'loc', 'publisher', oils_i18n_gettext(7, 'Publisher', 'cza', 'label'), 1018, 6);
438 INSERT INTO config.z3950_attr (id, source, name, label, code, format)
439 VALUES (8, 'loc', 'pubdate', oils_i18n_gettext(8, 'Publication Date', 'cza', 'label'), 31, 1);
440 INSERT INTO config.z3950_attr (id, source, name, label, code, format)
441 VALUES (9, 'loc', 'item_type', oils_i18n_gettext(9, 'Item Type', 'cza', 'label'), 1001, 1);
443 UPDATE config.z3950_attr SET truncation = 1 WHERE source = 'loc';
445 INSERT INTO config.z3950_attr (id, source, name, label, code, format)
446 VALUES (10, 'oclc', 'tcn', oils_i18n_gettext(10, 'Title Control Number', 'cza', 'label'), 12, 1);
447 INSERT INTO config.z3950_attr (id, source, name, label, code, format)
448 VALUES (11, 'oclc', 'isbn', oils_i18n_gettext(11, 'ISBN', 'cza', 'label'), 7, 6);
449 INSERT INTO config.z3950_attr (id, source, name, label, code, format)
450 VALUES (12, 'oclc', 'lccn', oils_i18n_gettext(12, 'LCCN', 'cza', 'label'), 9, 1);
451 INSERT INTO config.z3950_attr (id, source, name, label, code, format)
452 VALUES (13, 'oclc', 'author', oils_i18n_gettext(13, 'Author', 'cza', 'label'), 1003, 6);
453 INSERT INTO config.z3950_attr (id, source, name, label, code, format)
454 VALUES (14, 'oclc', 'title', oils_i18n_gettext(14, 'Title', 'cza', 'label'), 4, 6);
455 INSERT INTO config.z3950_attr (id, source, name, label, code, format)
456 VALUES (15, 'oclc', 'issn', oils_i18n_gettext(15, 'ISSN', 'cza', 'label'), 8, 1);
457 INSERT INTO config.z3950_attr (id, source, name, label, code, format)
458 VALUES (16, 'oclc', 'publisher', oils_i18n_gettext(16, 'Publisher', 'cza', 'label'), 1018, 6);
459 INSERT INTO config.z3950_attr (id, source, name, label, code, format)
460 VALUES (17, 'oclc', 'pubdate', oils_i18n_gettext(17, 'Publication Date', 'cza', 'label'), 31, 1);
461 INSERT INTO config.z3950_attr (id, source, name, label, code, format)
462 VALUES (18, 'oclc', 'item_type', oils_i18n_gettext(18, 'Item Type', 'cza', 'label'), 1001, 1);
464 SELECT SETVAL('config.z3950_attr_id_seq'::TEXT, 100);
466 --005.schema.actors.sql:
469 INSERT INTO actor.org_unit_type (id, name, opac_label, depth, parent, can_have_users, can_have_vols) VALUES
470 ( 1, oils_i18n_gettext(1, 'Consortium', 'aout', 'name'),
471 oils_i18n_gettext(1, 'Everywhere', 'aout', 'opac_label'), 0, NULL, FALSE, FALSE );
472 INSERT INTO actor.org_unit_type (id, name, opac_label, depth, parent, can_have_users, can_have_vols) VALUES
473 ( 2, oils_i18n_gettext(2, 'System', 'aout', 'name'),
474 oils_i18n_gettext(2, 'Local Library System', 'aout', 'opac_label'), 1, 1, FALSE, FALSE );
475 INSERT INTO actor.org_unit_type (id, name, opac_label, depth, parent) VALUES
476 ( 3, oils_i18n_gettext(3, 'Branch', 'aout', 'name'),
477 oils_i18n_gettext(3, 'This Branch', 'aout', 'opac_label'), 2, 2 );
478 INSERT INTO actor.org_unit_type (id, name, opac_label, depth, parent) VALUES
479 ( 4, oils_i18n_gettext(4, 'Sub-library', 'aout', 'name'),
480 oils_i18n_gettext(4, 'This Specialized Library', 'aout', 'opac_label'), 3, 3 );
481 INSERT INTO actor.org_unit_type (id, name, opac_label, depth, parent) VALUES
482 ( 5, oils_i18n_gettext(5, 'Bookmobile', 'aout', 'name'),
483 oils_i18n_gettext(5, 'Your Bookmobile', 'aout', 'opac_label'), 3, 3 );
484 SELECT SETVAL('actor.org_unit_type_id_seq'::TEXT, 100);
486 -- We need one actor.org_unit to own many things
487 INSERT INTO actor.org_unit (id, parent_ou, ou_type, shortname, name) VALUES
488 (1, NULL, 1, 'CONS', oils_i18n_gettext(1, 'Example Consortium', 'aou', 'name'));
489 SELECT SETVAL('actor.org_unit_id_seq'::TEXT, 100);
491 INSERT INTO config.billing_type (id, name, owner) VALUES
492 ( 1, oils_i18n_gettext(1, 'Overdue Materials', 'cbt', 'name'), 1);
493 INSERT INTO config.billing_type (id, name, owner) VALUES
494 ( 2, oils_i18n_gettext(2, 'Long Overdue Collection Fee', 'cbt', 'name'), 1);
495 INSERT INTO config.billing_type (id, name, owner) VALUES
496 ( 3, oils_i18n_gettext(3, 'Lost Materials', 'cbt', 'name'), 1);
497 INSERT INTO config.billing_type (id, name, owner) VALUES
498 ( 4, oils_i18n_gettext(4, 'Lost Materials Processing Fee', 'cbt', 'name'), 1);
499 INSERT INTO config.billing_type (id, name, owner) VALUES
500 ( 5, oils_i18n_gettext(5, 'System: Deposit', 'cbt', 'name'), 1);
501 INSERT INTO config.billing_type (id, name, owner) VALUES
502 ( 6, oils_i18n_gettext(6, 'System: Rental', 'cbt', 'name'), 1);
503 INSERT INTO config.billing_type (id, name, owner) VALUES
504 ( 7, oils_i18n_gettext(7, 'Damaged Item', 'cbt', 'name'), 1);
505 INSERT INTO config.billing_type (id, name, owner) VALUES
506 ( 8, oils_i18n_gettext(8, 'Damaged Item Processing Fee', 'cbt', 'name'), 1);
507 INSERT INTO config.billing_type (id, name, owner) VALUES
508 ( 9, oils_i18n_gettext(9, 'Notification Fee', 'cbt', 'name'), 1);
509 INSERT INTO config.billing_type (id, owner, name) VALUES
510 (10, 1, oils_i18n_gettext(10, 'Long-Overdue Materials', 'cbt', 'name'));
511 INSERT INTO config.billing_type (id, owner, name) VALUES
512 (11, 1, oils_i18n_gettext(11, 'Long-Overdue Materials Processing Fee', 'cbt', 'name'));
515 INSERT INTO config.billing_type (id, name, owner) VALUES ( 101, oils_i18n_gettext(101, 'Misc', 'cbt', 'name'), 1);
517 SELECT SETVAL('config.billing_type_id_seq'::TEXT, 101);
519 --006.data.permissions.sql:
520 INSERT INTO permission.perm_list ( id, code, description ) VALUES
521 ( -1, 'EVERYTHING', oils_i18n_gettext( -1,
522 'EVERYTHING', 'ppl', 'description' )),
523 ( 1, 'OPAC_LOGIN', oils_i18n_gettext( 1,
524 'Allow a user to log in to the OPAC', 'ppl', 'description' )),
525 ( 2, 'STAFF_LOGIN', oils_i18n_gettext( 2,
526 'Allow a user to log in to the staff client', 'ppl', 'description' )),
527 ( 3, 'MR_HOLDS', oils_i18n_gettext( 3,
528 'Allow a user to create a metarecord holds', 'ppl', 'description' )),
529 ( 4, 'TITLE_HOLDS', oils_i18n_gettext( 4,
530 'Allow a user to place a hold at the title level', 'ppl', 'description' )),
531 ( 5, 'VOLUME_HOLDS', oils_i18n_gettext( 5,
532 'Allow a user to place a volume level hold', 'ppl', 'description' )),
533 ( 6, 'COPY_HOLDS', oils_i18n_gettext( 6,
534 'Allow a user to place a hold on a specific copy', 'ppl', 'description' )),
535 ( 7, 'REQUEST_HOLDS', oils_i18n_gettext( 7,
536 'Allow a user to create holds for another user (if true, we still check to make sure they have permission to make the type of hold they are requesting, for example, COPY_HOLDS)', 'ppl', 'description' )),
537 ( 8, 'REQUEST_HOLDS_OVERRIDE', oils_i18n_gettext( 8,
538 '* no longer applicable', 'ppl', 'description' )),
539 ( 9, 'VIEW_HOLD', oils_i18n_gettext( 9,
540 'Allow a user to view another user''s holds', 'ppl', 'description' )),
541 ( 10, 'DELETE_HOLDS', oils_i18n_gettext( 10,
542 '* no longer applicable', 'ppl', 'description' )),
543 ( 11, 'UPDATE_HOLD', oils_i18n_gettext( 11,
544 'Allow a user to update another user''s hold', 'ppl', 'description' )),
545 ( 12, 'RENEW_CIRC', oils_i18n_gettext( 12,
546 'Allow a user to renew items', 'ppl', 'description' )),
547 ( 13, 'VIEW_USER_FINES_SUMMARY', oils_i18n_gettext( 13,
548 'Allow a user to view bill details', 'ppl', 'description' )),
549 ( 14, 'VIEW_USER_TRANSACTIONS', oils_i18n_gettext( 14,
550 'Allow a user to see another user''s grocery or circulation transactions in the Bills Interface; duplicate of VIEW_TRANSACTION', 'ppl', 'description' )),
551 ( 15, 'UPDATE_MARC', oils_i18n_gettext( 15,
552 'Allow a user to edit a MARC record', 'ppl', 'description' )),
553 ( 16, 'CREATE_MARC', oils_i18n_gettext( 16,
554 'Allow a user to create new MARC records', 'ppl', 'description' )),
555 ( 17, 'IMPORT_MARC', oils_i18n_gettext( 17,
556 'Allow a user to import a MARC record via the Z39.50 interface', 'ppl', 'description' )),
557 ( 18, 'CREATE_VOLUME', oils_i18n_gettext( 18,
558 'Allow a user to create a volume', 'ppl', 'description' )),
559 ( 19, 'UPDATE_VOLUME', oils_i18n_gettext( 19,
560 'Allow a user to edit volumes - needed for merging records. This is a duplicate of VOLUME_UPDATE; user must have both permissions at appropriate level to merge records.', 'ppl', 'description' )),
561 ( 20, 'DELETE_VOLUME', oils_i18n_gettext( 20,
562 'Allow a user to delete a volume', 'ppl', 'description' )),
563 ( 21, 'CREATE_COPY', oils_i18n_gettext( 21,
564 'Allow a user to create a new copy object', 'ppl', 'description' )),
565 ( 22, 'UPDATE_COPY', oils_i18n_gettext( 22,
566 'Allow a user to edit a copy', 'ppl', 'description' )),
567 ( 23, 'DELETE_COPY', oils_i18n_gettext( 23,
568 'Allow a user to delete a copy', 'ppl', 'description' )),
569 ( 24, 'RENEW_HOLD_OVERRIDE', oils_i18n_gettext( 24,
570 'Allow a user to continue to renew an item even if it is required for a hold', 'ppl', 'description' )),
571 ( 25, 'CREATE_USER', oils_i18n_gettext( 25,
572 'Allow a user to create another user', 'ppl', 'description' )),
573 ( 26, 'UPDATE_USER', oils_i18n_gettext( 26,
574 'Allow a user to edit a user''s record', 'ppl', 'description' )),
575 ( 27, 'DELETE_USER', oils_i18n_gettext( 27,
576 'Allow a user to mark a user as deleted', 'ppl', 'description' )),
577 ( 28, 'VIEW_USER', oils_i18n_gettext( 28,
578 'Allow a user to view another user''s Patron Record', 'ppl', 'description' )),
579 ( 29, 'COPY_CHECKIN', oils_i18n_gettext( 29,
580 'Allow a user to check in a copy', 'ppl', 'description' )),
581 ( 30, 'CREATE_TRANSIT', oils_i18n_gettext( 30,
582 'Allow a user to place an item in transit', 'ppl', 'description' )),
583 ( 31, 'VIEW_PERMISSION', oils_i18n_gettext( 31,
584 'Allow a user to view user permissions within the user permissions editor', 'ppl', 'description' )),
585 ( 32, 'CHECKIN_BYPASS_HOLD_FULFILL', oils_i18n_gettext( 32,
586 '* no longer applicable', 'ppl', 'description' )),
587 ( 33, 'CREATE_PAYMENT', oils_i18n_gettext( 33,
588 'Allow a user to record payments in the Billing Interface', 'ppl', 'description' )),
589 ( 34, 'SET_CIRC_LOST', oils_i18n_gettext( 34,
590 'Allow a user to mark an item as ''lost''', 'ppl', 'description' )),
591 ( 36, 'SET_CIRC_CLAIMS_RETURNED', oils_i18n_gettext( 36,
592 'Allow a user to mark an item as ''claims returned''', 'ppl', 'description' )),
593 ( 37, 'CREATE_TRANSACTION', oils_i18n_gettext( 37,
594 'Allow a user to create a new billable transaction', 'ppl', 'description' )),
595 ( 38, 'VIEW_TRANSACTION', oils_i18n_gettext( 38,
596 'Allow a user may view another user''s transactions', 'ppl', 'description' )),
597 ( 39, 'CREATE_BILL', oils_i18n_gettext( 39,
598 'Allow a user to create a new bill on a transaction', 'ppl', 'description' )),
599 ( 40, 'VIEW_CONTAINER', oils_i18n_gettext( 40,
600 'Allow a user to view another user''s containers (buckets)', 'ppl', 'description' )),
601 ( 41, 'CREATE_CONTAINER', oils_i18n_gettext( 41,
602 'Allow a user to create a new container for another user', 'ppl', 'description' )),
603 ( 42, 'UPDATE_ORG_UNIT', oils_i18n_gettext( 42,
604 'Allow a user to change the settings for an organization unit', 'ppl', 'description' )),
605 ( 43, 'VIEW_CIRCULATIONS', oils_i18n_gettext( 43,
606 'Allow a user to see what another user has checked out', 'ppl', 'description' )),
607 ( 44, 'DELETE_CONTAINER', oils_i18n_gettext( 44,
608 'Allow a user to delete another user''s container', 'ppl', 'description' )),
609 ( 45, 'CREATE_CONTAINER_ITEM', oils_i18n_gettext( 45,
610 'Allow a user to create a container item for another user', 'ppl', 'description' )),
611 ( 46, 'CREATE_USER_GROUP_LINK', oils_i18n_gettext( 46,
612 'Allow a user to add other users to permission groups', 'ppl', 'description' )),
613 ( 47, 'REMOVE_USER_GROUP_LINK', oils_i18n_gettext( 47,
614 'Allow a user to remove other users from permission groups', 'ppl', 'description' )),
615 ( 48, 'VIEW_PERM_GROUPS', oils_i18n_gettext( 48,
616 'Allow a user to view other users'' permission groups', 'ppl', 'description' )),
617 ( 49, 'VIEW_PERMIT_CHECKOUT', oils_i18n_gettext( 49,
618 'Allow a user to determine whether another user can check out an item', 'ppl', 'description' )),
619 ( 50, 'UPDATE_BATCH_COPY', oils_i18n_gettext( 50,
620 'Allow a user to edit copies in batch', 'ppl', 'description' )),
621 ( 51, 'CREATE_PATRON_STAT_CAT', oils_i18n_gettext( 51,
622 'User may create a new patron statistical category', 'ppl', 'description' )),
623 ( 52, 'CREATE_COPY_STAT_CAT', oils_i18n_gettext( 52,
624 'User may create a copy statistical category', 'ppl', 'description' )),
625 ( 53, 'CREATE_PATRON_STAT_CAT_ENTRY', oils_i18n_gettext( 53,
626 'User may create an entry in a patron statistical category', 'ppl', 'description' )),
627 ( 54, 'CREATE_COPY_STAT_CAT_ENTRY', oils_i18n_gettext( 54,
628 'User may create an entry in a copy statistical category', 'ppl', 'description' )),
629 ( 55, 'UPDATE_PATRON_STAT_CAT', oils_i18n_gettext( 55,
630 'User may update a patron statistical category', 'ppl', 'description' )),
631 ( 56, 'UPDATE_COPY_STAT_CAT', oils_i18n_gettext( 56,
632 'User may update a copy statistical category', 'ppl', 'description' )),
633 ( 57, 'UPDATE_PATRON_STAT_CAT_ENTRY', oils_i18n_gettext( 57,
634 'User may update an entry in a patron statistical category', 'ppl', 'description' )),
635 ( 58, 'UPDATE_COPY_STAT_CAT_ENTRY', oils_i18n_gettext( 58,
636 'User may update an entry in a copy statistical category', 'ppl', 'description' )),
637 ( 59, 'CREATE_PATRON_STAT_CAT_ENTRY_MAP', oils_i18n_gettext( 59,
638 'User may link another user to an entry in a statistical category', 'ppl', 'description' )),
639 ( 60, 'CREATE_COPY_STAT_CAT_ENTRY_MAP', oils_i18n_gettext( 60,
640 'User may link a copy to an entry in a statistical category', 'ppl', 'description' )),
641 ( 61, 'DELETE_PATRON_STAT_CAT', oils_i18n_gettext( 61,
642 'User may delete a patron statistical category', 'ppl', 'description' )),
643 ( 62, 'DELETE_COPY_STAT_CAT', oils_i18n_gettext( 62,
644 'User may delete a copy statistical category', 'ppl', 'description' )),
645 ( 63, 'DELETE_PATRON_STAT_CAT_ENTRY', oils_i18n_gettext( 63,
646 'User may delete an entry from a patron statistical category', 'ppl', 'description' )),
647 ( 64, 'DELETE_COPY_STAT_CAT_ENTRY', oils_i18n_gettext( 64,
648 'User may delete an entry from a copy statistical category', 'ppl', 'description' )),
649 ( 65, 'DELETE_PATRON_STAT_CAT_ENTRY_MAP', oils_i18n_gettext( 65,
650 'User may delete a patron statistical category entry map', 'ppl', 'description' )),
651 ( 66, 'DELETE_COPY_STAT_CAT_ENTRY_MAP', oils_i18n_gettext( 66,
652 'User may delete a copy statistical category entry map', 'ppl', 'description' )),
653 ( 67, 'CREATE_NON_CAT_TYPE', oils_i18n_gettext( 67,
654 'Allow a user to create a new non-cataloged item type', 'ppl', 'description' )),
655 ( 68, 'UPDATE_NON_CAT_TYPE', oils_i18n_gettext( 68,
656 'Allow a user to update a non-cataloged item type', 'ppl', 'description' )),
657 ( 69, 'CREATE_IN_HOUSE_USE', oils_i18n_gettext( 69,
658 'Allow a user to create a new in-house-use ', 'ppl', 'description' )),
659 ( 70, 'COPY_CHECKOUT', oils_i18n_gettext( 70,
660 'Allow a user to check out a copy', 'ppl', 'description' )),
661 ( 71, 'CREATE_COPY_LOCATION', oils_i18n_gettext( 71,
662 'Allow a user to create a new copy location', 'ppl', 'description' )),
663 ( 72, 'UPDATE_COPY_LOCATION', oils_i18n_gettext( 72,
664 'Allow a user to update a copy location', 'ppl', 'description' )),
665 ( 73, 'DELETE_COPY_LOCATION', oils_i18n_gettext( 73,
666 'Allow a user to delete a copy location', 'ppl', 'description' )),
667 ( 74, 'CREATE_COPY_TRANSIT', oils_i18n_gettext( 74,
668 'Allow a user to create a transit_copy object for transiting a copy', 'ppl', 'description' )),
669 ( 75, 'COPY_TRANSIT_RECEIVE', oils_i18n_gettext( 75,
670 'Allow a user to close out a transit on a copy', 'ppl', 'description' )),
671 ( 76, 'VIEW_HOLD_PERMIT', oils_i18n_gettext( 76,
672 'Allow a user to see if another user has permission to place a hold on a given copy', 'ppl', 'description' )),
673 ( 77, 'VIEW_COPY_CHECKOUT_HISTORY', oils_i18n_gettext( 77,
674 'Allow a user to view which users have checked out a given copy', 'ppl', 'description' )),
675 ( 78, 'REMOTE_Z3950_QUERY', oils_i18n_gettext( 78,
676 'Allow a user to perform Z39.50 queries against remote servers', 'ppl', 'description' )),
677 ( 79, 'REGISTER_WORKSTATION', oils_i18n_gettext( 79,
678 'Allow a user to register a new workstation', 'ppl', 'description' )),
679 ( 80, 'VIEW_COPY_NOTES', oils_i18n_gettext( 80,
680 'Allow a user to view all notes attached to a copy', 'ppl', 'description' )),
681 ( 81, 'VIEW_VOLUME_NOTES', oils_i18n_gettext( 81,
682 'Allow a user to view all notes attached to a volume', 'ppl', 'description' )),
683 ( 82, 'VIEW_TITLE_NOTES', oils_i18n_gettext( 82,
684 'Allow a user to view all notes attached to a title', 'ppl', 'description' )),
685 ( 83, 'CREATE_COPY_NOTE', oils_i18n_gettext( 83,
686 'Allow a user to create a new copy note', 'ppl', 'description' )),
687 ( 84, 'CREATE_VOLUME_NOTE', oils_i18n_gettext( 84,
688 'Allow a user to create a new volume note', 'ppl', 'description' )),
689 ( 85, 'CREATE_TITLE_NOTE', oils_i18n_gettext( 85,
690 'Allow a user to create a new title note', 'ppl', 'description' )),
691 ( 86, 'DELETE_COPY_NOTE', oils_i18n_gettext( 86,
692 'Allow a user to delete another user''s copy notes', 'ppl', 'description' )),
693 ( 87, 'DELETE_VOLUME_NOTE', oils_i18n_gettext( 87,
694 'Allow a user to delete another user''s volume note', 'ppl', 'description' )),
695 ( 88, 'DELETE_TITLE_NOTE', oils_i18n_gettext( 88,
696 'Allow a user to delete another user''s title note', 'ppl', 'description' )),
697 ( 89, 'UPDATE_CONTAINER', oils_i18n_gettext( 89,
698 'Allow a user to update another user''s container', 'ppl', 'description' )),
699 ( 90, 'CREATE_MY_CONTAINER', oils_i18n_gettext( 90,
700 'Allow a user to create a container for themselves', 'ppl', 'description' )),
701 ( 91, 'VIEW_HOLD_NOTIFICATION', oils_i18n_gettext( 91,
702 'Allow a user to view notifications attached to a hold', 'ppl', 'description' )),
703 ( 92, 'CREATE_HOLD_NOTIFICATION', oils_i18n_gettext( 92,
704 'Allow a user to create new hold notifications', 'ppl', 'description' )),
705 ( 93, 'UPDATE_ORG_SETTING', oils_i18n_gettext( 93,
706 'Allow a user to update an organization unit setting', 'ppl', 'description' )),
707 ( 94, 'OFFLINE_UPLOAD', oils_i18n_gettext( 94,
708 'Allow a user to upload an offline script', 'ppl', 'description' )),
709 ( 95, 'OFFLINE_VIEW', oils_i18n_gettext( 95,
710 'Allow a user to view uploaded offline script information', 'ppl', 'description' )),
711 ( 96, 'OFFLINE_EXECUTE', oils_i18n_gettext( 96,
712 'Allow a user to execute an offline script batch', 'ppl', 'description' )),
713 ( 97, 'CIRC_OVERRIDE_DUE_DATE', oils_i18n_gettext( 97,
714 'Allow a user to change the due date on an item to any date', 'ppl', 'description' )),
715 ( 98, 'CIRC_PERMIT_OVERRIDE', oils_i18n_gettext( 98,
716 'Allow a user to bypass the circulation permit call for check out', 'ppl', 'description' )),
717 ( 99, 'COPY_IS_REFERENCE.override', oils_i18n_gettext( 99,
718 'Allow a user to override the copy_is_reference event', 'ppl', 'description' )),
719 ( 100, 'VOID_BILLING', oils_i18n_gettext( 100,
720 'Allow a user to void a bill', 'ppl', 'description' )),
721 ( 101, 'CIRC_CLAIMS_RETURNED.override', oils_i18n_gettext( 101,
722 'Allow a user to check in or check out an item that has a status of ''claims returned''', 'ppl', 'description' )),
723 ( 102, 'COPY_BAD_STATUS.override', oils_i18n_gettext( 102,
724 'Allow a user to check out an item in a non-circulatable status', 'ppl', 'description' )),
725 ( 103, 'COPY_ALERT_MESSAGE.override', oils_i18n_gettext( 103,
726 'Allow a user to check in/out an item that has an alert message', 'ppl', 'description' )),
727 ( 104, 'COPY_STATUS_LOST.override', oils_i18n_gettext( 104,
728 'Allow a user to remove the lost status from a copy', 'ppl', 'description' )),
729 ( 105, 'COPY_STATUS_MISSING.override', oils_i18n_gettext( 105,
730 'Allow a user to change the missing status on a copy', 'ppl', 'description' )),
731 ( 106, 'ABORT_TRANSIT', oils_i18n_gettext( 106,
732 'Allow a user to cancel a copy transit if the user is at the transit destination or source', 'ppl', 'description' )),
733 ( 107, 'ABORT_REMOTE_TRANSIT', oils_i18n_gettext( 107,
734 'Allow a user to cancel a copy transit if the user is not at the transit source or dest', 'ppl', 'description' )),
735 ( 108, 'VIEW_ZIP_DATA', oils_i18n_gettext( 108,
736 'Allow a user to query the ZIP code data method', 'ppl', 'description' )),
737 ( 109, 'CANCEL_HOLDS', oils_i18n_gettext( 109,
738 'Allow a user to cancel holds', 'ppl', 'description' )),
739 ( 110, 'CREATE_DUPLICATE_HOLDS', oils_i18n_gettext( 110,
740 'Allow a user to create duplicate holds (two or more holds on the same title)', 'ppl', 'description' )),
741 ( 111, 'actor.org_unit.closed_date.delete', oils_i18n_gettext( 111,
742 'Allow a user to remove a closed date interval for a given location', 'ppl', 'description' )),
743 ( 112, 'actor.org_unit.closed_date.update', oils_i18n_gettext( 112,
744 'Allow a user to update a closed date interval for a given location', 'ppl', 'description' )),
745 ( 113, 'actor.org_unit.closed_date.create', oils_i18n_gettext( 113,
746 'Allow a user to create a new closed date for a location', 'ppl', 'description' )),
747 ( 114, 'DELETE_NON_CAT_TYPE', oils_i18n_gettext( 114,
748 'Allow a user to delete a non cataloged type', 'ppl', 'description' )),
749 ( 115, 'money.collections_tracker.create', oils_i18n_gettext( 115,
750 'Allow a user to put someone into collections', 'ppl', 'description' )),
751 ( 116, 'money.collections_tracker.delete', oils_i18n_gettext( 116,
752 'Allow a user to remove someone from collections', 'ppl', 'description' )),
753 ( 117, 'BAR_PATRON', oils_i18n_gettext( 117,
754 'Allow a user to bar a patron', 'ppl', 'description' )),
755 ( 118, 'UNBAR_PATRON', oils_i18n_gettext( 118,
756 'Allow a user to un-bar a patron', 'ppl', 'description' )),
757 ( 119, 'DELETE_WORKSTATION', oils_i18n_gettext( 119,
758 'Allow a user to remove an existing workstation so a new one can replace it', 'ppl', 'description' )),
759 ( 120, 'group_application.user', oils_i18n_gettext( 120,
760 'Allow a user to add/remove users to/from the "User" group', 'ppl', 'description' )),
761 ( 121, 'group_application.user.patron', oils_i18n_gettext( 121,
762 'Allow a user to add/remove users to/from the "Patron" group', 'ppl', 'description' )),
763 ( 122, 'group_application.user.staff', oils_i18n_gettext( 122,
764 'Allow a user to add/remove users to/from the "Staff" group', 'ppl', 'description' )),
765 ( 123, 'group_application.user.staff.circ', oils_i18n_gettext( 123,
766 'Allow a user to add/remove users to/from the "Circulator" group', 'ppl', 'description' )),
767 ( 124, 'group_application.user.staff.cat', oils_i18n_gettext( 124,
768 'Allow a user to add/remove users to/from the "Cataloger" group', 'ppl', 'description' )),
769 ( 125, 'group_application.user.staff.admin.global_admin', oils_i18n_gettext( 125,
770 'Allow a user to add/remove users to/from the "GlobalAdmin" group', 'ppl', 'description' )),
771 ( 126, 'group_application.user.staff.admin.local_admin', oils_i18n_gettext( 126,
772 'Allow a user to add/remove users to/from the "LocalAdmin" group', 'ppl', 'description' )),
773 ( 127, 'group_application.user.staff.admin.lib_manager', oils_i18n_gettext( 127,
774 'Allow a user to add/remove users to/from the "LibraryManager" group', 'ppl', 'description' )),
775 ( 128, 'group_application.user.staff.cat.cat1', oils_i18n_gettext( 128,
776 'Allow a user to add/remove users to/from the "Cat1" group', 'ppl', 'description' )),
777 ( 129, 'group_application.user.staff.supercat', oils_i18n_gettext( 129,
778 'Allow a user to add/remove users to/from the "Supercat" group', 'ppl', 'description' )),
779 ( 130, 'group_application.user.sip_client', oils_i18n_gettext( 130,
780 'Allow a user to add/remove users to/from the "SIP-Client" group', 'ppl', 'description' )),
781 ( 131, 'group_application.user.vendor', oils_i18n_gettext( 131,
782 'Allow a user to add/remove users to/from the "Vendor" group', 'ppl', 'description' )),
783 ( 132, 'ITEM_AGE_PROTECTED.override', oils_i18n_gettext( 132,
784 'Allow a user to place a hold on an age-protected item', 'ppl', 'description' )),
785 ( 133, 'MAX_RENEWALS_REACHED.override', oils_i18n_gettext( 133,
786 'Allow a user to renew an item past the maximum renewal count', 'ppl', 'description' )),
787 ( 134, 'PATRON_EXCEEDS_CHECKOUT_COUNT.override', oils_i18n_gettext( 134,
788 'Allow staff to override checkout count failure', 'ppl', 'description' )),
789 ( 135, 'PATRON_EXCEEDS_OVERDUE_COUNT.override', oils_i18n_gettext( 135,
790 'Allow staff to override overdue count failure', 'ppl', 'description' )),
791 ( 136, 'PATRON_EXCEEDS_FINES.override', oils_i18n_gettext( 136,
792 'Allow staff to override fine amount checkout failure', 'ppl', 'description' )),
793 ( 137, 'CIRC_EXCEEDS_COPY_RANGE.override', oils_i18n_gettext( 137,
794 'Allow staff to override circulation copy range failure', 'ppl', 'description' )),
795 ( 138, 'ITEM_ON_HOLDS_SHELF.override', oils_i18n_gettext( 138,
796 'Allow staff to override item on holds shelf failure', 'ppl', 'description' )),
797 ( 139, 'COPY_NOT_AVAILABLE.override', oils_i18n_gettext( 139,
798 'Allow staff to force checkout of Missing/Lost type items', 'ppl', 'description' )),
799 ( 140, 'HOLD_EXISTS.override', oils_i18n_gettext( 140,
800 'Allow a user to place multiple holds on a single title', 'ppl', 'description' )),
801 ( 141, 'RUN_REPORTS', oils_i18n_gettext( 141,
802 'Allow a user to run reports', 'ppl', 'description' )),
803 ( 142, 'SHARE_REPORT_FOLDER', oils_i18n_gettext( 142,
804 'Allow a user to share report his own folders', 'ppl', 'description' )),
805 ( 143, 'VIEW_REPORT_OUTPUT', oils_i18n_gettext( 143,
806 'Allow a user to view report output', 'ppl', 'description' )),
807 ( 144, 'COPY_CIRC_NOT_ALLOWED.override', oils_i18n_gettext( 144,
808 'Allow a user to checkout an item that is marked as non-circ', 'ppl', 'description' )),
809 ( 145, 'DELETE_CONTAINER_ITEM', oils_i18n_gettext( 145,
810 'Allow a user to delete an item out of another user''s container', 'ppl', 'description' )),
811 ( 146, 'ASSIGN_WORK_ORG_UNIT', oils_i18n_gettext( 146,
812 'Allow a staff member to define where another staff member has their permissions', 'ppl', 'description' )),
813 ( 147, 'CREATE_FUNDING_SOURCE', oils_i18n_gettext( 147,
814 'Allow a user to create a new funding source', 'ppl', 'description' )),
815 ( 148, 'DELETE_FUNDING_SOURCE', oils_i18n_gettext( 148,
816 'Allow a user to delete a funding source', 'ppl', 'description' )),
817 ( 149, 'VIEW_FUNDING_SOURCE', oils_i18n_gettext( 149,
818 'Allow a user to view a funding source', 'ppl', 'description' )),
819 ( 150, 'UPDATE_FUNDING_SOURCE', oils_i18n_gettext( 150,
820 'Allow a user to update a funding source', 'ppl', 'description' )),
821 ( 151, 'CREATE_FUND', oils_i18n_gettext( 151,
822 'Allow a user to create a new fund', 'ppl', 'description' )),
823 ( 152, 'DELETE_FUND', oils_i18n_gettext( 152,
824 'Allow a user to delete a fund', 'ppl', 'description' )),
825 ( 153, 'VIEW_FUND', oils_i18n_gettext( 153,
826 'Allow a user to view a fund', 'ppl', 'description' )),
827 ( 154, 'UPDATE_FUND', oils_i18n_gettext( 154,
828 'Allow a user to update a fund', 'ppl', 'description' )),
829 ( 155, 'CREATE_FUND_ALLOCATION', oils_i18n_gettext( 155,
830 'Allow a user to create a new fund allocation', 'ppl', 'description' )),
831 ( 156, 'DELETE_FUND_ALLOCATION', oils_i18n_gettext( 156,
832 'Allow a user to delete a fund allocation', 'ppl', 'description' )),
833 ( 157, 'VIEW_FUND_ALLOCATION', oils_i18n_gettext( 157,
834 'Allow a user to view a fund allocation', 'ppl', 'description' )),
835 ( 158, 'UPDATE_FUND_ALLOCATION', oils_i18n_gettext( 158,
836 'Allow a user to update a fund allocation', 'ppl', 'description' )),
837 ( 159, 'GENERAL_ACQ', oils_i18n_gettext( 159,
838 'Lowest level permission required to access the ACQ interface', 'ppl', 'description' )),
839 ( 160, 'CREATE_PROVIDER', oils_i18n_gettext( 160,
840 'Allow a user to create a new provider', 'ppl', 'description' )),
841 ( 161, 'DELETE_PROVIDER', oils_i18n_gettext( 161,
842 'Allow a user to delete a provider', 'ppl', 'description' )),
843 ( 162, 'VIEW_PROVIDER', oils_i18n_gettext( 162,
844 'Allow a user to view a provider', 'ppl', 'description' )),
845 ( 163, 'UPDATE_PROVIDER', oils_i18n_gettext( 163,
846 'Allow a user to update a provider', 'ppl', 'description' )),
847 ( 164, 'ADMIN_FUNDING_SOURCE', oils_i18n_gettext( 164,
848 'Allow a user to create/view/update/delete a funding source', 'ppl', 'description' )),
849 ( 165, 'ADMIN_FUND', oils_i18n_gettext( 165,
850 '(Deprecated) Allow a user to create/view/update/delete a fund', 'ppl', 'description' )),
851 ( 166, 'MANAGE_FUNDING_SOURCE', oils_i18n_gettext( 166,
852 'Allow a user to view/credit/debit a funding source', 'ppl', 'description' )),
853 ( 167, 'MANAGE_FUND', oils_i18n_gettext( 167,
854 'Allow a user to view/credit/debit a fund', 'ppl', 'description' )),
855 ( 168, 'CREATE_PICKLIST', oils_i18n_gettext( 168,
856 'Allows a user to create a picklist', 'ppl', 'description' )),
857 ( 169, 'ADMIN_PROVIDER', oils_i18n_gettext( 169,
858 'Allow a user to create/view/update/delete a provider', 'ppl', 'description' )),
859 ( 170, 'MANAGE_PROVIDER', oils_i18n_gettext( 170,
860 'Allow a user to view and purchase from a provider', 'ppl', 'description' )),
861 ( 171, 'VIEW_PICKLIST', oils_i18n_gettext( 171,
862 'Allow a user to view another users picklist', 'ppl', 'description' )),
863 ( 172, 'DELETE_RECORD', oils_i18n_gettext( 172,
864 'Allow a staff member to directly remove a bibliographic record', 'ppl', 'description' )),
865 ( 173, 'ADMIN_CURRENCY_TYPE', oils_i18n_gettext( 173,
866 'Allow a user to create/view/update/delete a currency_type', 'ppl', 'description' )),
867 ( 174, 'MARK_BAD_DEBT', oils_i18n_gettext( 174,
868 'Allow a user to mark a transaction as bad (unrecoverable) debt', 'ppl', 'description' )),
869 ( 175, 'VIEW_BILLING_TYPE', oils_i18n_gettext( 175,
870 'Allow a user to view billing types', 'ppl', 'description' )),
871 ( 176, 'MARK_ITEM_AVAILABLE', oils_i18n_gettext( 176,
872 'Allow a user to mark an item status as ''available''', 'ppl', 'description' )),
873 ( 177, 'MARK_ITEM_CHECKED_OUT', oils_i18n_gettext( 177,
874 'Allow a user to mark an item status as ''checked out''', 'ppl', 'description' )),
875 ( 178, 'MARK_ITEM_BINDERY', oils_i18n_gettext( 178,
876 'Allow a user to mark an item status as ''bindery''', 'ppl', 'description' )),
877 ( 179, 'MARK_ITEM_LOST', oils_i18n_gettext( 179,
878 'Allow a user to mark an item status as ''lost''', 'ppl', 'description' )),
879 ( 180, 'MARK_ITEM_MISSING', oils_i18n_gettext( 180,
880 'Allow a user to mark an item status as ''missing''', 'ppl', 'description' )),
881 ( 181, 'MARK_ITEM_IN_PROCESS', oils_i18n_gettext( 181,
882 'Allow a user to mark an item status as ''in process''', 'ppl', 'description' )),
883 ( 182, 'MARK_ITEM_IN_TRANSIT', oils_i18n_gettext( 182,
884 'Allow a user to mark an item status as ''in transit''', 'ppl', 'description' )),
885 ( 183, 'MARK_ITEM_RESHELVING', oils_i18n_gettext( 183,
886 'Allow a user to mark an item status as ''reshelving''', 'ppl', 'description' )),
887 ( 184, 'MARK_ITEM_ON_HOLDS_SHELF', oils_i18n_gettext( 184,
888 'Allow a user to mark an item status as ''on holds shelf''', 'ppl', 'description' )),
889 ( 185, 'MARK_ITEM_ON_ORDER', oils_i18n_gettext( 185,
890 'Allow a user to mark an item status as ''on order''', 'ppl', 'description' )),
891 ( 186, 'MARK_ITEM_ILL', oils_i18n_gettext( 186,
892 'Allow a user to mark an item status as ''inter-library loan''', 'ppl', 'description' )),
893 ( 187, 'group_application.user.staff.acq', oils_i18n_gettext( 187,
894 'Allows a user to add/remove/edit users in the "ACQ" group', 'ppl', 'description' )),
895 ( 188, 'CREATE_PURCHASE_ORDER', oils_i18n_gettext( 188,
896 'Allows a user to create a purchase order', 'ppl', 'description' )),
897 ( 189, 'VIEW_PURCHASE_ORDER', oils_i18n_gettext( 189,
898 'Allows a user to view a purchase order', 'ppl', 'description' )),
899 ( 190, 'IMPORT_ACQ_LINEITEM_BIB_RECORD', oils_i18n_gettext( 190,
900 'Allows a user to import a bib record from the acq staging area (on-order record) into the ILS bib data set', 'ppl', 'description' )),
901 ( 191, 'RECEIVE_PURCHASE_ORDER', oils_i18n_gettext( 191,
902 'Allows a user to mark a purchase order, lineitem, or individual copy as received', 'ppl', 'description' )),
903 ( 192, 'VIEW_ORG_SETTINGS', oils_i18n_gettext( 192,
904 'Allows a user to view all org settings at the specified level', 'ppl', 'description' )),
905 ( 193, 'CREATE_MFHD_RECORD', oils_i18n_gettext( 193,
906 'Allows a user to create a new MFHD record', 'ppl', 'description' )),
907 ( 194, 'UPDATE_MFHD_RECORD', oils_i18n_gettext( 194,
908 'Allows a user to update an MFHD record', 'ppl', 'description' )),
909 ( 195, 'DELETE_MFHD_RECORD', oils_i18n_gettext( 195,
910 'Allows a user to delete an MFHD record', 'ppl', 'description' )),
911 ( 196, 'ADMIN_ACQ_FUND', oils_i18n_gettext( 196,
912 'Allow a user to create/view/update/delete a fund', 'ppl', 'description' )),
913 ( 197, 'group_application.user.staff.acq_admin', oils_i18n_gettext( 197,
914 'Allows a user to add/remove/edit users in the "Acquisitions Administrators" group', 'ppl', 'description' )),
915 ( 198, 'SET_CIRC_CLAIMS_RETURNED.override', oils_i18n_gettext( 198,
916 'Allows staff to override the max claims returned value for a patron', 'ppl', 'description' )),
917 ( 199, 'UPDATE_PATRON_CLAIM_RETURN_COUNT', oils_i18n_gettext( 199,
918 'Allows staff to manually change a patron''s claims returned count', 'ppl', 'description' )),
919 ( 200, 'UPDATE_BILL_NOTE', oils_i18n_gettext( 200,
920 'Allows staff to edit the note for a bill on a transaction', 'ppl', 'description' )),
921 ( 201, 'UPDATE_PAYMENT_NOTE', oils_i18n_gettext( 201,
922 'Allows staff to edit the note for a payment on a transaction', 'ppl', 'description' )),
923 ( 202, 'UPDATE_PATRON_CLAIM_NEVER_CHECKED_OUT_COUNT', oils_i18n_gettext( 202,
924 'Allows staff to manually change a patron''s claims never checkout out count', 'ppl', 'description' )),
925 ( 203, 'ADMIN_COPY_LOCATION_ORDER', oils_i18n_gettext( 203,
926 'Allow a user to create/view/update/delete a copy location order', 'ppl', 'description' )),
927 ( 204, 'ASSIGN_GROUP_PERM', oils_i18n_gettext( 204,
928 'ASSIGN_GROUP_PERM', 'ppl', 'description' )),
929 ( 205, 'CREATE_AUDIENCE', oils_i18n_gettext( 205,
930 'CREATE_AUDIENCE', 'ppl', 'description' )),
931 ( 206, 'CREATE_BIB_LEVEL', oils_i18n_gettext( 206,
932 'CREATE_BIB_LEVEL', 'ppl', 'description' )),
933 ( 207, 'CREATE_CIRC_DURATION', oils_i18n_gettext( 207,
934 'CREATE_CIRC_DURATION', 'ppl', 'description' )),
935 ( 208, 'CREATE_CIRC_MOD', oils_i18n_gettext( 208,
936 'CREATE_CIRC_MOD', 'ppl', 'description' )),
937 ( 209, 'CREATE_COPY_STATUS', oils_i18n_gettext( 209,
938 'CREATE_COPY_STATUS', 'ppl', 'description' )),
939 ( 210, 'CREATE_HOURS_OF_OPERATION', oils_i18n_gettext( 210,
940 'CREATE_HOURS_OF_OPERATION', 'ppl', 'description' )),
941 ( 211, 'CREATE_ITEM_FORM', oils_i18n_gettext( 211,
942 'CREATE_ITEM_FORM', 'ppl', 'description' )),
943 ( 212, 'CREATE_ITEM_TYPE', oils_i18n_gettext( 212,
944 'CREATE_ITEM_TYPE', 'ppl', 'description' )),
945 ( 213, 'CREATE_LANGUAGE', oils_i18n_gettext( 213,
946 'CREATE_LANGUAGE', 'ppl', 'description' )),
947 ( 214, 'CREATE_LASSO', oils_i18n_gettext( 214,
948 'CREATE_LASSO', 'ppl', 'description' )),
949 ( 215, 'CREATE_LASSO_MAP', oils_i18n_gettext( 215,
950 'CREATE_LASSO_MAP', 'ppl', 'description' )),
951 ( 216, 'CREATE_LIT_FORM', oils_i18n_gettext( 216,
952 'CREATE_LIT_FORM', 'ppl', 'description' )),
953 ( 217, 'CREATE_METABIB_FIELD', oils_i18n_gettext( 217,
954 'CREATE_METABIB_FIELD', 'ppl', 'description' )),
955 ( 218, 'CREATE_NET_ACCESS_LEVEL', oils_i18n_gettext( 218,
956 'CREATE_NET_ACCESS_LEVEL', 'ppl', 'description' )),
957 ( 219, 'CREATE_ORG_ADDRESS', oils_i18n_gettext( 219,
958 'CREATE_ORG_ADDRESS', 'ppl', 'description' )),
959 ( 220, 'CREATE_ORG_TYPE', oils_i18n_gettext( 220,
960 'CREATE_ORG_TYPE', 'ppl', 'description' )),
961 ( 221, 'CREATE_ORG_UNIT', oils_i18n_gettext( 221,
962 'CREATE_ORG_UNIT', 'ppl', 'description' )),
963 ( 222, 'CREATE_ORG_UNIT_CLOSING', oils_i18n_gettext( 222,
964 'CREATE_ORG_UNIT_CLOSING', 'ppl', 'description' )),
965 ( 223, 'CREATE_PERM', oils_i18n_gettext( 223,
966 'CREATE_PERM', 'ppl', 'description' )),
967 ( 224, 'CREATE_RELEVANCE_ADJUSTMENT', oils_i18n_gettext( 224,
968 'CREATE_RELEVANCE_ADJUSTMENT', 'ppl', 'description' )),
969 ( 225, 'CREATE_SURVEY', oils_i18n_gettext( 225,
970 'CREATE_SURVEY', 'ppl', 'description' )),
971 ( 226, 'CREATE_VR_FORMAT', oils_i18n_gettext( 226,
972 'CREATE_VR_FORMAT', 'ppl', 'description' )),
973 ( 227, 'CREATE_XML_TRANSFORM', oils_i18n_gettext( 227,
974 'CREATE_XML_TRANSFORM', 'ppl', 'description' )),
975 ( 228, 'DELETE_AUDIENCE', oils_i18n_gettext( 228,
976 'DELETE_AUDIENCE', 'ppl', 'description' )),
977 ( 229, 'DELETE_BIB_LEVEL', oils_i18n_gettext( 229,
978 'DELETE_BIB_LEVEL', 'ppl', 'description' )),
979 ( 230, 'DELETE_CIRC_DURATION', oils_i18n_gettext( 230,
980 'DELETE_CIRC_DURATION', 'ppl', 'description' )),
981 ( 231, 'DELETE_CIRC_MOD', oils_i18n_gettext( 231,
982 'DELETE_CIRC_MOD', 'ppl', 'description' )),
983 ( 232, 'DELETE_COPY_STATUS', oils_i18n_gettext( 232,
984 'DELETE_COPY_STATUS', 'ppl', 'description' )),
985 ( 233, 'DELETE_HOURS_OF_OPERATION', oils_i18n_gettext( 233,
986 'DELETE_HOURS_OF_OPERATION', 'ppl', 'description' )),
987 ( 234, 'DELETE_ITEM_FORM', oils_i18n_gettext( 234,
988 'DELETE_ITEM_FORM', 'ppl', 'description' )),
989 ( 235, 'DELETE_ITEM_TYPE', oils_i18n_gettext( 235,
990 'DELETE_ITEM_TYPE', 'ppl', 'description' )),
991 ( 236, 'DELETE_LANGUAGE', oils_i18n_gettext( 236,
992 'DELETE_LANGUAGE', 'ppl', 'description' )),
993 ( 237, 'DELETE_LASSO', oils_i18n_gettext( 237,
994 'DELETE_LASSO', 'ppl', 'description' )),
995 ( 238, 'DELETE_LASSO_MAP', oils_i18n_gettext( 238,
996 'DELETE_LASSO_MAP', 'ppl', 'description' )),
997 ( 239, 'DELETE_LIT_FORM', oils_i18n_gettext( 239,
998 'DELETE_LIT_FORM', 'ppl', 'description' )),
999 ( 240, 'DELETE_METABIB_FIELD', oils_i18n_gettext( 240,
1000 'DELETE_METABIB_FIELD', 'ppl', 'description' )),
1001 ( 241, 'DELETE_NET_ACCESS_LEVEL', oils_i18n_gettext( 241,
1002 'DELETE_NET_ACCESS_LEVEL', 'ppl', 'description' )),
1003 ( 242, 'DELETE_ORG_ADDRESS', oils_i18n_gettext( 242,
1004 'DELETE_ORG_ADDRESS', 'ppl', 'description' )),
1005 ( 243, 'DELETE_ORG_TYPE', oils_i18n_gettext( 243,
1006 'DELETE_ORG_TYPE', 'ppl', 'description' )),
1007 ( 244, 'DELETE_ORG_UNIT', oils_i18n_gettext( 244,
1008 'DELETE_ORG_UNIT', 'ppl', 'description' )),
1009 ( 245, 'DELETE_ORG_UNIT_CLOSING', oils_i18n_gettext( 245,
1010 'DELETE_ORG_UNIT_CLOSING', 'ppl', 'description' )),
1011 ( 246, 'DELETE_PERM', oils_i18n_gettext( 246,
1012 'DELETE_PERM', 'ppl', 'description' )),
1013 ( 247, 'DELETE_RELEVANCE_ADJUSTMENT', oils_i18n_gettext( 247,
1014 'DELETE_RELEVANCE_ADJUSTMENT', 'ppl', 'description' )),
1015 ( 248, 'DELETE_SURVEY', oils_i18n_gettext( 248,
1016 'DELETE_SURVEY', 'ppl', 'description' )),
1017 ( 249, 'DELETE_TRANSIT', oils_i18n_gettext( 249,
1018 'DELETE_TRANSIT', 'ppl', 'description' )),
1019 ( 250, 'DELETE_VR_FORMAT', oils_i18n_gettext( 250,
1020 'DELETE_VR_FORMAT', 'ppl', 'description' )),
1021 ( 251, 'DELETE_XML_TRANSFORM', oils_i18n_gettext( 251,
1022 'DELETE_XML_TRANSFORM', 'ppl', 'description' )),
1023 ( 252, 'REMOVE_GROUP_PERM', oils_i18n_gettext( 252,
1024 'REMOVE_GROUP_PERM', 'ppl', 'description' )),
1025 ( 253, 'TRANSIT_COPY', oils_i18n_gettext( 253,
1026 'TRANSIT_COPY', 'ppl', 'description' )),
1027 ( 254, 'UPDATE_AUDIENCE', oils_i18n_gettext( 254,
1028 'UPDATE_AUDIENCE', 'ppl', 'description' )),
1029 ( 255, 'UPDATE_BIB_LEVEL', oils_i18n_gettext( 255,
1030 'UPDATE_BIB_LEVEL', 'ppl', 'description' )),
1031 ( 256, 'UPDATE_CIRC_DURATION', oils_i18n_gettext( 256,
1032 'UPDATE_CIRC_DURATION', 'ppl', 'description' )),
1033 ( 257, 'UPDATE_CIRC_MOD', oils_i18n_gettext( 257,
1034 'UPDATE_CIRC_MOD', 'ppl', 'description' )),
1035 ( 258, 'UPDATE_COPY_NOTE', oils_i18n_gettext( 258,
1036 'UPDATE_COPY_NOTE', 'ppl', 'description' )),
1037 ( 259, 'UPDATE_COPY_STATUS', oils_i18n_gettext( 259,
1038 'UPDATE_COPY_STATUS', 'ppl', 'description' )),
1039 ( 260, 'UPDATE_GROUP_PERM', oils_i18n_gettext( 260,
1040 'UPDATE_GROUP_PERM', 'ppl', 'description' )),
1041 ( 261, 'UPDATE_HOURS_OF_OPERATION', oils_i18n_gettext( 261,
1042 'UPDATE_HOURS_OF_OPERATION', 'ppl', 'description' )),
1043 ( 262, 'UPDATE_ITEM_FORM', oils_i18n_gettext( 262,
1044 'UPDATE_ITEM_FORM', 'ppl', 'description' )),
1045 ( 263, 'UPDATE_ITEM_TYPE', oils_i18n_gettext( 263,
1046 'UPDATE_ITEM_TYPE', 'ppl', 'description' )),
1047 ( 264, 'UPDATE_LANGUAGE', oils_i18n_gettext( 264,
1048 'UPDATE_LANGUAGE', 'ppl', 'description' )),
1049 ( 265, 'UPDATE_LASSO', oils_i18n_gettext( 265,
1050 'UPDATE_LASSO', 'ppl', 'description' )),
1051 ( 266, 'UPDATE_LASSO_MAP', oils_i18n_gettext( 266,
1052 'UPDATE_LASSO_MAP', 'ppl', 'description' )),
1053 ( 267, 'UPDATE_LIT_FORM', oils_i18n_gettext( 267,
1054 'UPDATE_LIT_FORM', 'ppl', 'description' )),
1055 ( 268, 'UPDATE_METABIB_FIELD', oils_i18n_gettext( 268,
1056 'UPDATE_METABIB_FIELD', 'ppl', 'description' )),
1057 ( 269, 'UPDATE_NET_ACCESS_LEVEL', oils_i18n_gettext( 269,
1058 'UPDATE_NET_ACCESS_LEVEL', 'ppl', 'description' )),
1059 ( 270, 'UPDATE_ORG_ADDRESS', oils_i18n_gettext( 270,
1060 'UPDATE_ORG_ADDRESS', 'ppl', 'description' )),
1061 ( 271, 'UPDATE_ORG_TYPE', oils_i18n_gettext( 271,
1062 'UPDATE_ORG_TYPE', 'ppl', 'description' )),
1063 ( 272, 'UPDATE_ORG_UNIT_CLOSING', oils_i18n_gettext( 272,
1064 'UPDATE_ORG_UNIT_CLOSING', 'ppl', 'description' )),
1065 ( 273, 'UPDATE_PERM', oils_i18n_gettext( 273,
1066 'UPDATE_PERM', 'ppl', 'description' )),
1067 ( 274, 'UPDATE_RELEVANCE_ADJUSTMENT', oils_i18n_gettext( 274,
1068 'UPDATE_RELEVANCE_ADJUSTMENT', 'ppl', 'description' )),
1069 ( 275, 'UPDATE_SURVEY', oils_i18n_gettext( 275,
1070 'UPDATE_SURVEY', 'ppl', 'description' )),
1071 ( 276, 'UPDATE_TRANSIT', oils_i18n_gettext( 276,
1072 'UPDATE_TRANSIT', 'ppl', 'description' )),
1073 ( 277, 'UPDATE_VOLUME_NOTE', oils_i18n_gettext( 277,
1074 'UPDATE_VOLUME_NOTE', 'ppl', 'description' )),
1075 ( 278, 'UPDATE_VR_FORMAT', oils_i18n_gettext( 278,
1076 'UPDATE_VR_FORMAT', 'ppl', 'description' )),
1077 ( 279, 'UPDATE_XML_TRANSFORM', oils_i18n_gettext( 279,
1078 'UPDATE_XML_TRANSFORM', 'ppl', 'description' )),
1079 ( 280, 'MERGE_BIB_RECORDS', oils_i18n_gettext( 280,
1080 'MERGE_BIB_RECORDS', 'ppl', 'description' )),
1081 ( 281, 'UPDATE_PICKUP_LIB_FROM_HOLDS_SHELF', oils_i18n_gettext( 281,
1082 'UPDATE_PICKUP_LIB_FROM_HOLDS_SHELF', 'ppl', 'description' )),
1083 ( 282, 'CREATE_ACQ_FUNDING_SOURCE', oils_i18n_gettext( 282,
1084 'CREATE_ACQ_FUNDING_SOURCE', 'ppl', 'description' )),
1085 ( 283, 'CREATE_AUTHORITY_IMPORT_IMPORT_FIELD_DEF', oils_i18n_gettext( 283,
1086 'CREATE_AUTHORITY_IMPORT_IMPORT_FIELD_DEF', 'ppl', 'description' )),
1087 ( 284, 'CREATE_AUTHORITY_IMPORT_QUEUE', oils_i18n_gettext( 284,
1088 'CREATE_AUTHORITY_IMPORT_QUEUE', 'ppl', 'description' )),
1089 ( 285, 'CREATE_AUTHORITY_RECORD_NOTE', oils_i18n_gettext( 285,
1090 'CREATE_AUTHORITY_RECORD_NOTE', 'ppl', 'description' )),
1091 ( 286, 'CREATE_BIB_IMPORT_FIELD_DEF', oils_i18n_gettext( 286,
1092 'CREATE_BIB_IMPORT_FIELD_DEF', 'ppl', 'description' )),
1093 ( 287, 'CREATE_BIB_IMPORT_QUEUE', oils_i18n_gettext( 287,
1094 'CREATE_BIB_IMPORT_QUEUE', 'ppl', 'description' )),
1095 ( 288, 'CREATE_LOCALE', oils_i18n_gettext( 288,
1096 'CREATE_LOCALE', 'ppl', 'description' )),
1097 ( 289, 'CREATE_MARC_CODE', oils_i18n_gettext( 289,
1098 'CREATE_MARC_CODE', 'ppl', 'description' )),
1099 ( 290, 'CREATE_TRANSLATION', oils_i18n_gettext( 290,
1100 'CREATE_TRANSLATION', 'ppl', 'description' )),
1101 ( 291, 'DELETE_ACQ_FUNDING_SOURCE', oils_i18n_gettext( 291,
1102 'DELETE_ACQ_FUNDING_SOURCE', 'ppl', 'description' )),
1103 ( 292, 'DELETE_AUTHORITY_IMPORT_IMPORT_FIELD_DEF', oils_i18n_gettext( 292,
1104 'DELETE_AUTHORITY_IMPORT_IMPORT_FIELD_DEF', 'ppl', 'description' )),
1105 ( 293, 'DELETE_AUTHORITY_IMPORT_QUEUE', oils_i18n_gettext( 293,
1106 'DELETE_AUTHORITY_IMPORT_QUEUE', 'ppl', 'description' )),
1107 ( 294, 'DELETE_AUTHORITY_RECORD_NOTE', oils_i18n_gettext( 294,
1108 'DELETE_AUTHORITY_RECORD_NOTE', 'ppl', 'description' )),
1109 ( 295, 'DELETE_BIB_IMPORT_IMPORT_FIELD_DEF', oils_i18n_gettext( 295,
1110 'DELETE_BIB_IMPORT_IMPORT_FIELD_DEF', 'ppl', 'description' )),
1111 ( 296, 'DELETE_BIB_IMPORT_QUEUE', oils_i18n_gettext( 296,
1112 'DELETE_BIB_IMPORT_QUEUE', 'ppl', 'description' )),
1113 ( 297, 'DELETE_LOCALE', oils_i18n_gettext( 297,
1114 'DELETE_LOCALE', 'ppl', 'description' )),
1115 ( 298, 'DELETE_MARC_CODE', oils_i18n_gettext( 298,
1116 'DELETE_MARC_CODE', 'ppl', 'description' )),
1117 ( 299, 'DELETE_TRANSLATION', oils_i18n_gettext( 299,
1118 'DELETE_TRANSLATION', 'ppl', 'description' )),
1119 ( 300, 'UPDATE_ACQ_FUNDING_SOURCE', oils_i18n_gettext( 300,
1120 'UPDATE_ACQ_FUNDING_SOURCE', 'ppl', 'description' )),
1121 ( 301, 'UPDATE_AUTHORITY_IMPORT_IMPORT_FIELD_DEF', oils_i18n_gettext( 301,
1122 'UPDATE_AUTHORITY_IMPORT_IMPORT_FIELD_DEF', 'ppl', 'description' )),
1123 ( 302, 'UPDATE_AUTHORITY_IMPORT_QUEUE', oils_i18n_gettext( 302,
1124 'UPDATE_AUTHORITY_IMPORT_QUEUE', 'ppl', 'description' )),
1125 ( 303, 'UPDATE_AUTHORITY_RECORD_NOTE', oils_i18n_gettext( 303,
1126 'UPDATE_AUTHORITY_RECORD_NOTE', 'ppl', 'description' )),
1127 ( 304, 'UPDATE_BIB_IMPORT_IMPORT_FIELD_DEF', oils_i18n_gettext( 304,
1128 'UPDATE_BIB_IMPORT_IMPORT_FIELD_DEF', 'ppl', 'description' )),
1129 ( 305, 'UPDATE_BIB_IMPORT_QUEUE', oils_i18n_gettext( 305,
1130 'UPDATE_BIB_IMPORT_QUEUE', 'ppl', 'description' )),
1131 ( 306, 'UPDATE_LOCALE', oils_i18n_gettext( 306,
1132 'UPDATE_LOCALE', 'ppl', 'description' )),
1133 ( 307, 'UPDATE_MARC_CODE', oils_i18n_gettext( 307,
1134 'UPDATE_MARC_CODE', 'ppl', 'description' )),
1135 ( 308, 'UPDATE_TRANSLATION', oils_i18n_gettext( 308,
1136 'UPDATE_TRANSLATION', 'ppl', 'description' )),
1137 ( 309, 'VIEW_ACQ_FUNDING_SOURCE', oils_i18n_gettext( 309,
1138 'VIEW_ACQ_FUNDING_SOURCE', 'ppl', 'description' )),
1139 ( 310, 'VIEW_AUTHORITY_RECORD_NOTES', oils_i18n_gettext( 310,
1140 'VIEW_AUTHORITY_RECORD_NOTES', 'ppl', 'description' )),
1141 ( 311, 'CREATE_IMPORT_ITEM', oils_i18n_gettext( 311,
1142 'CREATE_IMPORT_ITEM', 'ppl', 'description' )),
1143 ( 312, 'CREATE_IMPORT_ITEM_ATTR_DEF', oils_i18n_gettext( 312,
1144 'CREATE_IMPORT_ITEM_ATTR_DEF', 'ppl', 'description' )),
1145 ( 313, 'CREATE_IMPORT_TRASH_FIELD', oils_i18n_gettext( 313,
1146 'CREATE_IMPORT_TRASH_FIELD', 'ppl', 'description' )),
1147 ( 314, 'DELETE_IMPORT_ITEM', oils_i18n_gettext( 314,
1148 'DELETE_IMPORT_ITEM', 'ppl', 'description' )),
1149 ( 315, 'DELETE_IMPORT_ITEM_ATTR_DEF', oils_i18n_gettext( 315,
1150 'DELETE_IMPORT_ITEM_ATTR_DEF', 'ppl', 'description' )),
1151 ( 316, 'DELETE_IMPORT_TRASH_FIELD', oils_i18n_gettext( 316,
1152 'DELETE_IMPORT_TRASH_FIELD', 'ppl', 'description' )),
1153 ( 317, 'UPDATE_IMPORT_ITEM', oils_i18n_gettext( 317,
1154 'UPDATE_IMPORT_ITEM', 'ppl', 'description' )),
1155 ( 318, 'UPDATE_IMPORT_ITEM_ATTR_DEF', oils_i18n_gettext( 318,
1156 'UPDATE_IMPORT_ITEM_ATTR_DEF', 'ppl', 'description' )),
1157 ( 319, 'UPDATE_IMPORT_TRASH_FIELD', oils_i18n_gettext( 319,
1158 'UPDATE_IMPORT_TRASH_FIELD', 'ppl', 'description' )),
1159 ( 320, 'UPDATE_ORG_UNIT_SETTING_ALL', oils_i18n_gettext( 320,
1160 'UPDATE_ORG_UNIT_SETTING_ALL', 'ppl', 'description' )),
1161 ( 321, 'UPDATE_ORG_UNIT_SETTING.circ.lost_materials_processing_fee', oils_i18n_gettext( 321,
1162 'UPDATE_ORG_UNIT_SETTING.circ.lost_materials_processing_fee', 'ppl', 'description' )),
1163 ( 322, 'UPDATE_ORG_UNIT_SETTING.cat.default_item_price', oils_i18n_gettext( 322,
1164 'UPDATE_ORG_UNIT_SETTING.cat.default_item_price', 'ppl', 'description' )),
1165 ( 323, 'UPDATE_ORG_UNIT_SETTING.auth.opac_timeout', oils_i18n_gettext( 323,
1166 'UPDATE_ORG_UNIT_SETTING.auth.opac_timeout', 'ppl', 'description' )),
1167 ( 324, 'UPDATE_ORG_UNIT_SETTING.auth.staff_timeout', oils_i18n_gettext( 324,
1168 'UPDATE_ORG_UNIT_SETTING.auth.staff_timeout', 'ppl', 'description' )),
1169 ( 325, 'UPDATE_ORG_UNIT_SETTING.org.bounced_emails', oils_i18n_gettext( 325,
1170 'UPDATE_ORG_UNIT_SETTING.org.bounced_emails', 'ppl', 'description' )),
1171 ( 326, 'UPDATE_ORG_UNIT_SETTING.circ.hold_expire_alert_interval', oils_i18n_gettext( 326,
1172 'UPDATE_ORG_UNIT_SETTING.circ.hold_expire_alert_interval', 'ppl', 'description' )),
1173 ( 327, 'UPDATE_ORG_UNIT_SETTING.circ.hold_expire_interval', oils_i18n_gettext( 327,
1174 'UPDATE_ORG_UNIT_SETTING.circ.hold_expire_interval', 'ppl', 'description' )),
1175 ( 328, 'UPDATE_ORG_UNIT_SETTING.credit.payments.allow', oils_i18n_gettext( 328,
1176 'UPDATE_ORG_UNIT_SETTING.credit.payments.allow', 'ppl', 'description' )),
1177 ( 329, 'UPDATE_ORG_UNIT_SETTING.circ.void_overdue_on_lost', oils_i18n_gettext( 329,
1178 'UPDATE_ORG_UNIT_SETTING.circ.void_overdue_on_lost', 'ppl', 'description' )),
1179 ( 330, 'UPDATE_ORG_UNIT_SETTING.circ.hold_stalling.soft', oils_i18n_gettext( 330,
1180 'UPDATE_ORG_UNIT_SETTING.circ.hold_stalling.soft', 'ppl', 'description' )),
1181 ( 331, 'UPDATE_ORG_UNIT_SETTING.circ.hold_boundary.hard', oils_i18n_gettext( 331,
1182 'UPDATE_ORG_UNIT_SETTING.circ.hold_boundary.hard', 'ppl', 'description' )),
1183 ( 332, 'UPDATE_ORG_UNIT_SETTING.circ.hold_boundary.soft', oils_i18n_gettext( 332,
1184 'UPDATE_ORG_UNIT_SETTING.circ.hold_boundary.soft', 'ppl', 'description' )),
1185 ( 333, 'UPDATE_ORG_UNIT_SETTING.opac.barcode_regex', oils_i18n_gettext( 333,
1186 'UPDATE_ORG_UNIT_SETTING.opac.barcode_regex', 'ppl', 'description' )),
1187 ( 334, 'UPDATE_ORG_UNIT_SETTING.global.password_regex', oils_i18n_gettext( 334,
1188 'UPDATE_ORG_UNIT_SETTING.global.password_regex', 'ppl', 'description' )),
1189 ( 335, 'UPDATE_ORG_UNIT_SETTING.circ.item_checkout_history.max', oils_i18n_gettext( 335,
1190 'UPDATE_ORG_UNIT_SETTING.circ.item_checkout_history.max', 'ppl', 'description' )),
1191 ( 336, 'UPDATE_ORG_UNIT_SETTING.circ.reshelving_complete.interval', oils_i18n_gettext( 336,
1192 'UPDATE_ORG_UNIT_SETTING.circ.reshelving_complete.interval', 'ppl', 'description' )),
1193 ( 337, 'UPDATE_ORG_UNIT_SETTING.circ.selfcheck.patron_login_timeout', oils_i18n_gettext( 337,
1194 'UPDATE_ORG_UNIT_SETTING.circ.selfcheck.patron_login_timeout', 'ppl', 'description' )),
1195 ( 338, 'UPDATE_ORG_UNIT_SETTING.circ.selfcheck.alert_on_checkout_event', oils_i18n_gettext( 338,
1196 'UPDATE_ORG_UNIT_SETTING.circ.selfcheck.alert_on_checkout_event', 'ppl', 'description' )),
1197 ( 340, 'UPDATE_ORG_UNIT_SETTING.global.juvenile_age_threshold', oils_i18n_gettext( 340,
1198 'UPDATE_ORG_UNIT_SETTING.global.juvenile_age_threshold', 'ppl', 'description' )),
1199 ( 341, 'UPDATE_ORG_UNIT_SETTING.cat.bib.keep_on_empty', oils_i18n_gettext( 341,
1200 'UPDATE_ORG_UNIT_SETTING.cat.bib.keep_on_empty', 'ppl', 'description' )),
1201 ( 342, 'UPDATE_ORG_UNIT_SETTING.cat.bib.alert_on_empty', oils_i18n_gettext( 342,
1202 'UPDATE_ORG_UNIT_SETTING.cat.bib.alert_on_empty', 'ppl', 'description' )),
1203 ( 343, 'UPDATE_ORG_UNIT_SETTING.patron.password.use_phone', oils_i18n_gettext( 343,
1204 'UPDATE_ORG_UNIT_SETTING.patron.password.use_phone', 'ppl', 'description' )),
1205 ( 344, 'HOLD_ITEM_CHECKED_OUT.override', oils_i18n_gettext( 344,
1206 'Allows a user to place a hold on an item that they already have checked out', 'ppl', 'description' )),
1207 ( 345, 'ADMIN_ACQ_CANCEL_CAUSE', oils_i18n_gettext( 345,
1208 'Allow a user to create/update/delete reasons for order cancellations', 'ppl', 'description' )),
1209 ( 346, 'ACQ_XFER_MANUAL_DFUND_AMOUNT', oils_i18n_gettext( 346,
1210 'Allow a user to transfer different amounts of money out of one fund and into another', 'ppl', 'description' )),
1211 ( 347, 'OVERRIDE_HOLD_HAS_LOCAL_COPY', oils_i18n_gettext( 347,
1212 'Allow a user to override the circ.holds.hold_has_copy_at.block setting', 'ppl', 'description' )),
1213 ( 348, 'UPDATE_PICKUP_LIB_FROM_TRANSIT', oils_i18n_gettext( 348,
1214 'Allow a user to change the pickup and transit destination for a captured hold item already in transit', 'ppl', 'description' )),
1215 ( 349, 'COPY_NEEDED_FOR_HOLD.override', oils_i18n_gettext( 349,
1216 'Allow a user to force renewal of an item that could fulfill a hold request', 'ppl', 'description' )),
1217 ( 350, 'MERGE_AUTH_RECORDS', oils_i18n_gettext( 350,
1218 'Allow a user to merge authority records together', 'ppl', 'description' )),
1219 ( 351, 'ALLOW_ALT_TCN', oils_i18n_gettext( 351,
1220 'Allows staff to import a record using an alternate TCN to avoid conflicts', 'ppl', 'description' )),
1221 ( 352, 'ADMIN_TRIGGER_EVENT_DEF', oils_i18n_gettext( 352,
1222 'Allow a user to administer trigger event definitions', 'ppl', 'description' )),
1223 ( 353, 'ADMIN_TRIGGER_CLEANUP', oils_i18n_gettext( 353,
1224 'Allow a user to create, delete, and update trigger cleanup entries', 'ppl', 'description' )),
1225 ( 354, 'CREATE_TRIGGER_CLEANUP', oils_i18n_gettext( 354,
1226 'Allow a user to create trigger cleanup entries', 'ppl', 'description' )),
1227 ( 355, 'DELETE_TRIGGER_CLEANUP', oils_i18n_gettext( 355,
1228 'Allow a user to delete trigger cleanup entries', 'ppl', 'description' )),
1229 ( 356, 'UPDATE_TRIGGER_CLEANUP', oils_i18n_gettext( 356,
1230 'Allow a user to update trigger cleanup entries', 'ppl', 'description' )),
1231 ( 357, 'CREATE_TRIGGER_EVENT_DEF', oils_i18n_gettext( 357,
1232 'Allow a user to create trigger event definitions', 'ppl', 'description' )),
1233 ( 358, 'DELETE_TRIGGER_EVENT_DEF', oils_i18n_gettext( 358,
1234 'Allow a user to delete trigger event definitions', 'ppl', 'description' )),
1235 ( 359, 'UPDATE_TRIGGER_EVENT_DEF', oils_i18n_gettext( 359,
1236 'Allow a user to update trigger event definitions', 'ppl', 'description' )),
1237 ( 360, 'VIEW_TRIGGER_EVENT_DEF', oils_i18n_gettext( 360,
1238 'Allow a user to view trigger event definitions', 'ppl', 'description' )),
1239 ( 361, 'ADMIN_TRIGGER_HOOK', oils_i18n_gettext( 361,
1240 'Allow a user to create, update, and delete trigger hooks', 'ppl', 'description' )),
1241 ( 362, 'CREATE_TRIGGER_HOOK', oils_i18n_gettext( 362,
1242 'Allow a user to create trigger hooks', 'ppl', 'description' )),
1243 ( 363, 'DELETE_TRIGGER_HOOK', oils_i18n_gettext( 363,
1244 'Allow a user to delete trigger hooks', 'ppl', 'description' )),
1245 ( 364, 'UPDATE_TRIGGER_HOOK', oils_i18n_gettext( 364,
1246 'Allow a user to update trigger hooks', 'ppl', 'description' )),
1247 ( 365, 'ADMIN_TRIGGER_REACTOR', oils_i18n_gettext( 365,
1248 'Allow a user to create, update, and delete trigger reactors', 'ppl', 'description' )),
1249 ( 366, 'CREATE_TRIGGER_REACTOR', oils_i18n_gettext( 366,
1250 'Allow a user to create trigger reactors', 'ppl', 'description' )),
1251 ( 367, 'DELETE_TRIGGER_REACTOR', oils_i18n_gettext( 367,
1252 'Allow a user to delete trigger reactors', 'ppl', 'description' )),
1253 ( 368, 'UPDATE_TRIGGER_REACTOR', oils_i18n_gettext( 368,
1254 'Allow a user to update trigger reactors', 'ppl', 'description' )),
1255 ( 369, 'ADMIN_TRIGGER_TEMPLATE_OUTPUT', oils_i18n_gettext( 369,
1256 'Allow a user to delete trigger template output', 'ppl', 'description' )),
1257 ( 370, 'DELETE_TRIGGER_TEMPLATE_OUTPUT', oils_i18n_gettext( 370,
1258 'Allow a user to delete trigger template output', 'ppl', 'description' )),
1259 ( 371, 'ADMIN_TRIGGER_VALIDATOR', oils_i18n_gettext( 371,
1260 'Allow a user to create, update, and delete trigger validators', 'ppl', 'description' )),
1261 ( 372, 'CREATE_TRIGGER_VALIDATOR', oils_i18n_gettext( 372,
1262 'Allow a user to create trigger validators', 'ppl', 'description' )),
1263 ( 373, 'DELETE_TRIGGER_VALIDATOR', oils_i18n_gettext( 373,
1264 'Allow a user to delete trigger validators', 'ppl', 'description' )),
1265 ( 374, 'UPDATE_TRIGGER_VALIDATOR', oils_i18n_gettext( 374,
1266 'Allow a user to update trigger validators', 'ppl', 'description' )),
1267 ( 376, 'ADMIN_BOOKING_RESOURCE', oils_i18n_gettext( 376,
1268 'Enables the user to create/update/delete booking resources', 'ppl', 'description' )),
1269 ( 377, 'ADMIN_BOOKING_RESOURCE_TYPE', oils_i18n_gettext( 377,
1270 'Enables the user to create/update/delete booking resource types', 'ppl', 'description' )),
1271 ( 378, 'ADMIN_BOOKING_RESOURCE_ATTR', oils_i18n_gettext( 378,
1272 'Enables the user to create/update/delete booking resource attributes', 'ppl', 'description' )),
1273 ( 379, 'ADMIN_BOOKING_RESOURCE_ATTR_MAP', oils_i18n_gettext( 379,
1274 'Enables the user to create/update/delete booking resource attribute maps', 'ppl', 'description' )),
1275 ( 380, 'ADMIN_BOOKING_RESOURCE_ATTR_VALUE', oils_i18n_gettext( 380,
1276 'Enables the user to create/update/delete booking resource attribute values', 'ppl', 'description' )),
1277 ( 381, 'ADMIN_BOOKING_RESERVATION', oils_i18n_gettext( 381,
1278 'Enables the user to create/update/delete booking reservations', 'ppl', 'description' )),
1279 ( 382, 'ADMIN_BOOKING_RESERVATION_ATTR_VALUE_MAP', oils_i18n_gettext( 382,
1280 'Enables the user to create/update/delete booking reservation attribute value maps', 'ppl', 'description' )),
1281 ( 383, 'RETRIEVE_RESERVATION_PULL_LIST', oils_i18n_gettext( 383,
1282 'Allows a user to retrieve a booking reservation pull list', 'ppl', 'description' )),
1283 ( 384, 'CAPTURE_RESERVATION', oils_i18n_gettext( 384,
1284 'Allows a user to capture booking reservations', 'ppl', 'description' )),
1285 ( 385, 'UPDATE_RECORD', oils_i18n_gettext( 385,
1286 'UPDATE_RECORD', 'ppl', 'description' )),
1287 ( 386, 'UPDATE_ORG_UNIT_SETTING.circ.block_renews_for_holds', oils_i18n_gettext( 386,
1288 'UPDATE_ORG_UNIT_SETTING.circ.block_renews_for_holds', 'ppl', 'description' )),
1289 ( 387, 'MERGE_USERS', oils_i18n_gettext( 387,
1290 'Allows user records to be merged', 'ppl', 'description' )),
1291 ( 388, 'ISSUANCE_HOLDS', oils_i18n_gettext( 388,
1292 'Allow a user to place holds on serials issuances', 'ppl', 'description' )),
1293 ( 389, 'VIEW_CREDIT_CARD_PROCESSING', oils_i18n_gettext( 389,
1294 'View org unit settings related to credit card processing', 'ppl', 'description' )),
1295 ( 390, 'ADMIN_CREDIT_CARD_PROCESSING', oils_i18n_gettext( 390,
1296 'Update org unit settings related to credit card processing', 'ppl', 'description' )),
1297 ( 391, 'ADMIN_ACQ_CLAIM', oils_i18n_gettext( 391,
1298 'ADMIN_ACQ_CLAIM', 'ppl', 'description' )),
1299 ( 392, 'ADMIN_ACQ_CLAIM_EVENT_TYPE', oils_i18n_gettext( 392,
1300 'ADMIN_ACQ_CLAIM_EVENT_TYPE', 'ppl', 'description' )),
1301 ( 393, 'ADMIN_ACQ_CLAIM_TYPE', oils_i18n_gettext( 393,
1302 'ADMIN_ACQ_CLAIM_TYPE', 'ppl', 'description' )),
1303 ( 394, 'ADMIN_ACQ_DISTRIB_FORMULA', oils_i18n_gettext( 394,
1304 'ADMIN_ACQ_DISTRIB_FORMULA', 'ppl', 'description' )),
1305 ( 395, 'ADMIN_ACQ_FISCAL_YEAR', oils_i18n_gettext( 395,
1306 'ADMIN_ACQ_FISCAL_YEAR', 'ppl', 'description' )),
1307 ( 396, 'ADMIN_ACQ_FUND_ALLOCATION_PERCENT', oils_i18n_gettext( 396,
1308 'ADMIN_ACQ_FUND_ALLOCATION_PERCENT', 'ppl', 'description' )),
1309 ( 397, 'ADMIN_ACQ_FUND_TAG', oils_i18n_gettext( 397,
1310 'ADMIN_ACQ_FUND_TAG', 'ppl', 'description' )),
1311 ( 398, 'ADMIN_ACQ_LINEITEM_ALERT_TEXT', oils_i18n_gettext( 398,
1312 'ADMIN_ACQ_LINEITEM_ALERT_TEXT', 'ppl', 'description' )),
1313 ( 399, 'ADMIN_AGE_PROTECT_RULE', oils_i18n_gettext( 399,
1314 'ADMIN_AGE_PROTECT_RULE', 'ppl', 'description' )),
1315 ( 400, 'ADMIN_ASSET_COPY_TEMPLATE', oils_i18n_gettext( 400,
1316 'ADMIN_ASSET_COPY_TEMPLATE', 'ppl', 'description' )),
1317 ( 401, 'ADMIN_BOOKING_RESERVATION_ATTR_MAP', oils_i18n_gettext( 401,
1318 'ADMIN_BOOKING_RESERVATION_ATTR_MAP', 'ppl', 'description' )),
1319 ( 402, 'ADMIN_CIRC_MATRIX_MATCHPOINT', oils_i18n_gettext( 402,
1320 'ADMIN_CIRC_MATRIX_MATCHPOINT', 'ppl', 'description' )),
1321 ( 403, 'ADMIN_CIRC_MOD', oils_i18n_gettext( 403,
1322 'ADMIN_CIRC_MOD', 'ppl', 'description' )),
1323 ( 404, 'ADMIN_CLAIM_POLICY', oils_i18n_gettext( 404,
1324 'ADMIN_CLAIM_POLICY', 'ppl', 'description' )),
1325 ( 405, 'ADMIN_CONFIG_REMOTE_ACCOUNT', oils_i18n_gettext( 405,
1326 'ADMIN_CONFIG_REMOTE_ACCOUNT', 'ppl', 'description' )),
1327 ( 406, 'ADMIN_FIELD_DOC', oils_i18n_gettext( 406,
1328 'ADMIN_FIELD_DOC', 'ppl', 'description' )),
1329 ( 407, 'ADMIN_GLOBAL_FLAG', oils_i18n_gettext( 407,
1330 'ADMIN_GLOBAL_FLAG', 'ppl', 'description' )),
1331 ( 408, 'ADMIN_GROUP_PENALTY_THRESHOLD', oils_i18n_gettext( 408,
1332 'ADMIN_GROUP_PENALTY_THRESHOLD', 'ppl', 'description' )),
1333 ( 409, 'ADMIN_HOLD_CANCEL_CAUSE', oils_i18n_gettext( 409,
1334 'ADMIN_HOLD_CANCEL_CAUSE', 'ppl', 'description' )),
1335 ( 410, 'ADMIN_HOLD_MATRIX_MATCHPOINT', oils_i18n_gettext( 410,
1336 'ADMIN_HOLD_MATRIX_MATCHPOINT', 'ppl', 'description' )),
1337 ( 411, 'ADMIN_IDENT_TYPE', oils_i18n_gettext( 411,
1338 'ADMIN_IDENT_TYPE', 'ppl', 'description' )),
1339 ( 412, 'ADMIN_IMPORT_ITEM_ATTR_DEF', oils_i18n_gettext( 412,
1340 'ADMIN_IMPORT_ITEM_ATTR_DEF', 'ppl', 'description' )),
1341 ( 413, 'ADMIN_INDEX_NORMALIZER', oils_i18n_gettext( 413,
1342 'ADMIN_INDEX_NORMALIZER', 'ppl', 'description' )),
1343 ( 414, 'ADMIN_INVOICE', oils_i18n_gettext( 414,
1344 'ADMIN_INVOICE', 'ppl', 'description' )),
1345 ( 415, 'ADMIN_INVOICE_METHOD', oils_i18n_gettext( 415,
1346 'ADMIN_INVOICE_METHOD', 'ppl', 'description' )),
1347 ( 416, 'ADMIN_INVOICE_PAYMENT_METHOD', oils_i18n_gettext( 416,
1348 'ADMIN_INVOICE_PAYMENT_METHOD', 'ppl', 'description' )),
1349 ( 417, 'ADMIN_LINEITEM_MARC_ATTR_DEF', oils_i18n_gettext( 417,
1350 'ADMIN_LINEITEM_MARC_ATTR_DEF', 'ppl', 'description' )),
1351 ( 418, 'ADMIN_MARC_CODE', oils_i18n_gettext( 418,
1352 'ADMIN_MARC_CODE', 'ppl', 'description' )),
1353 ( 419, 'ADMIN_MAX_FINE_RULE', oils_i18n_gettext( 419,
1354 'ADMIN_MAX_FINE_RULE', 'ppl', 'description' )),
1355 ( 420, 'ADMIN_MERGE_PROFILE', oils_i18n_gettext( 420,
1356 'ADMIN_MERGE_PROFILE', 'ppl', 'description' )),
1357 ( 421, 'ADMIN_ORG_UNIT_SETTING_TYPE', oils_i18n_gettext( 421,
1358 'ADMIN_ORG_UNIT_SETTING_TYPE', 'ppl', 'description' )),
1359 ( 422, 'ADMIN_RECURRING_FINE_RULE', oils_i18n_gettext( 422,
1360 'ADMIN_RECURRING_FINE_RULE', 'ppl', 'description' )),
1361 ( 423, 'ADMIN_SERIAL_SUBSCRIPTION', oils_i18n_gettext( 423,
1362 'ADMIN_SERIAL_SUBSCRIPTION', 'ppl', 'description' )),
1363 ( 424, 'ADMIN_STANDING_PENALTY', oils_i18n_gettext( 424,
1364 'ADMIN_STANDING_PENALTY', 'ppl', 'description' )),
1365 ( 425, 'ADMIN_SURVEY', oils_i18n_gettext( 425,
1366 'ADMIN_SURVEY', 'ppl', 'description' )),
1367 ( 426, 'ADMIN_USER_REQUEST_TYPE', oils_i18n_gettext( 426,
1368 'ADMIN_USER_REQUEST_TYPE', 'ppl', 'description' )),
1369 ( 427, 'ADMIN_USER_SETTING_GROUP', oils_i18n_gettext( 427,
1370 'ADMIN_USER_SETTING_GROUP', 'ppl', 'description' )),
1371 ( 428, 'ADMIN_USER_SETTING_TYPE', oils_i18n_gettext( 428,
1372 'ADMIN_USER_SETTING_TYPE', 'ppl', 'description' )),
1373 ( 429, 'ADMIN_Z3950_SOURCE', oils_i18n_gettext( 429,
1374 'ADMIN_Z3950_SOURCE', 'ppl', 'description' )),
1375 ( 430, 'CREATE_BIB_BTYPE', oils_i18n_gettext( 430,
1376 'CREATE_BIB_BTYPE', 'ppl', 'description' )),
1377 ( 431, 'CREATE_BIBLIO_FINGERPRINT', oils_i18n_gettext( 431,
1378 'CREATE_BIBLIO_FINGERPRINT', 'ppl', 'description' )),
1379 ( 432, 'CREATE_BIB_SOURCE', oils_i18n_gettext( 432,
1380 'CREATE_BIB_SOURCE', 'ppl', 'description' )),
1381 ( 433, 'CREATE_BILLING_TYPE', oils_i18n_gettext( 433,
1382 'CREATE_BILLING_TYPE', 'ppl', 'description' )),
1383 ( 434, 'CREATE_CN_BTYPE', oils_i18n_gettext( 434,
1384 'CREATE_CN_BTYPE', 'ppl', 'description' )),
1385 ( 435, 'CREATE_COPY_BTYPE', oils_i18n_gettext( 435,
1386 'CREATE_COPY_BTYPE', 'ppl', 'description' )),
1387 ( 436, 'CREATE_INVOICE', oils_i18n_gettext( 436,
1388 'CREATE_INVOICE', 'ppl', 'description' )),
1389 ( 437, 'CREATE_INVOICE_ITEM_TYPE', oils_i18n_gettext( 437,
1390 'CREATE_INVOICE_ITEM_TYPE', 'ppl', 'description' )),
1391 ( 438, 'CREATE_INVOICE_METHOD', oils_i18n_gettext( 438,
1392 'CREATE_INVOICE_METHOD', 'ppl', 'description' )),
1393 ( 439, 'CREATE_MERGE_PROFILE', oils_i18n_gettext( 439,
1394 'CREATE_MERGE_PROFILE', 'ppl', 'description' )),
1395 ( 440, 'CREATE_METABIB_CLASS', oils_i18n_gettext( 440,
1396 'CREATE_METABIB_CLASS', 'ppl', 'description' )),
1397 ( 441, 'CREATE_METABIB_SEARCH_ALIAS', oils_i18n_gettext( 441,
1398 'CREATE_METABIB_SEARCH_ALIAS', 'ppl', 'description' )),
1399 ( 442, 'CREATE_USER_BTYPE', oils_i18n_gettext( 442,
1400 'CREATE_USER_BTYPE', 'ppl', 'description' )),
1401 ( 443, 'DELETE_BIB_BTYPE', oils_i18n_gettext( 443,
1402 'DELETE_BIB_BTYPE', 'ppl', 'description' )),
1403 ( 444, 'DELETE_BIBLIO_FINGERPRINT', oils_i18n_gettext( 444,
1404 'DELETE_BIBLIO_FINGERPRINT', 'ppl', 'description' )),
1405 ( 445, 'DELETE_BIB_SOURCE', oils_i18n_gettext( 445,
1406 'DELETE_BIB_SOURCE', 'ppl', 'description' )),
1407 ( 446, 'DELETE_BILLING_TYPE', oils_i18n_gettext( 446,
1408 'DELETE_BILLING_TYPE', 'ppl', 'description' )),
1409 ( 447, 'DELETE_CN_BTYPE', oils_i18n_gettext( 447,
1410 'DELETE_CN_BTYPE', 'ppl', 'description' )),
1411 ( 448, 'DELETE_COPY_BTYPE', oils_i18n_gettext( 448,
1412 'DELETE_COPY_BTYPE', 'ppl', 'description' )),
1413 ( 449, 'DELETE_INVOICE_ITEM_TYPE', oils_i18n_gettext( 449,
1414 'DELETE_INVOICE_ITEM_TYPE', 'ppl', 'description' )),
1415 ( 450, 'DELETE_INVOICE_METHOD', oils_i18n_gettext( 450,
1416 'DELETE_INVOICE_METHOD', 'ppl', 'description' )),
1417 ( 451, 'DELETE_MERGE_PROFILE', oils_i18n_gettext( 451,
1418 'DELETE_MERGE_PROFILE', 'ppl', 'description' )),
1419 ( 452, 'DELETE_METABIB_CLASS', oils_i18n_gettext( 452,
1420 'DELETE_METABIB_CLASS', 'ppl', 'description' )),
1421 ( 453, 'DELETE_METABIB_SEARCH_ALIAS', oils_i18n_gettext( 453,
1422 'DELETE_METABIB_SEARCH_ALIAS', 'ppl', 'description' )),
1423 ( 454, 'DELETE_USER_BTYPE', oils_i18n_gettext( 454,
1424 'DELETE_USER_BTYPE', 'ppl', 'description' )),
1425 ( 455, 'MANAGE_CLAIM', oils_i18n_gettext( 455,
1426 'MANAGE_CLAIM', 'ppl', 'description' )),
1427 ( 456, 'UPDATE_BIB_BTYPE', oils_i18n_gettext( 456,
1428 'UPDATE_BIB_BTYPE', 'ppl', 'description' )),
1429 ( 457, 'UPDATE_BIBLIO_FINGERPRINT', oils_i18n_gettext( 457,
1430 'UPDATE_BIBLIO_FINGERPRINT', 'ppl', 'description' )),
1431 ( 458, 'UPDATE_BIB_SOURCE', oils_i18n_gettext( 458,
1432 'UPDATE_BIB_SOURCE', 'ppl', 'description' )),
1433 ( 459, 'UPDATE_BILLING_TYPE', oils_i18n_gettext( 459,
1434 'UPDATE_BILLING_TYPE', 'ppl', 'description' )),
1435 ( 460, 'UPDATE_CN_BTYPE', oils_i18n_gettext( 460,
1436 'UPDATE_CN_BTYPE', 'ppl', 'description' )),
1437 ( 461, 'UPDATE_COPY_BTYPE', oils_i18n_gettext( 461,
1438 'UPDATE_COPY_BTYPE', 'ppl', 'description' )),
1439 ( 462, 'UPDATE_INVOICE_ITEM_TYPE', oils_i18n_gettext( 462,
1440 'UPDATE_INVOICE_ITEM_TYPE', 'ppl', 'description' )),
1441 ( 463, 'UPDATE_INVOICE_METHOD', oils_i18n_gettext( 463,
1442 'UPDATE_INVOICE_METHOD', 'ppl', 'description' )),
1443 ( 464, 'UPDATE_MERGE_PROFILE', oils_i18n_gettext( 464,
1444 'UPDATE_MERGE_PROFILE', 'ppl', 'description' )),
1445 ( 465, 'UPDATE_METABIB_CLASS', oils_i18n_gettext( 465,
1446 'UPDATE_METABIB_CLASS', 'ppl', 'description' )),
1447 ( 466, 'UPDATE_METABIB_SEARCH_ALIAS', oils_i18n_gettext( 466,
1448 'UPDATE_METABIB_SEARCH_ALIAS', 'ppl', 'description' )),
1449 ( 467, 'UPDATE_USER_BTYPE', oils_i18n_gettext( 467,
1450 'UPDATE_USER_BTYPE', 'ppl', 'description' )),
1451 ( 468, 'user_request.create', oils_i18n_gettext( 468,
1452 'user_request.create', 'ppl', 'description' )),
1453 ( 469, 'user_request.delete', oils_i18n_gettext( 469,
1454 'user_request.delete', 'ppl', 'description' )),
1455 ( 470, 'user_request.update', oils_i18n_gettext( 470,
1456 'user_request.update', 'ppl', 'description' )),
1457 ( 471, 'user_request.view', oils_i18n_gettext( 471,
1458 'user_request.view', 'ppl', 'description' )),
1459 ( 472, 'VIEW_ACQ_FUND_ALLOCATION_PERCENT', oils_i18n_gettext( 472,
1460 'VIEW_ACQ_FUND_ALLOCATION_PERCENT', 'ppl', 'description' )),
1461 ( 473, 'VIEW_CIRC_MATRIX_MATCHPOINT', oils_i18n_gettext( 473,
1462 'VIEW_CIRC_MATRIX_MATCHPOINT', 'ppl', 'description' )),
1463 ( 474, 'VIEW_CLAIM', oils_i18n_gettext( 474,
1464 'VIEW_CLAIM', 'ppl', 'description' )),
1465 ( 475, 'VIEW_GROUP_PENALTY_THRESHOLD', oils_i18n_gettext( 475,
1466 'VIEW_GROUP_PENALTY_THRESHOLD', 'ppl', 'description' )),
1467 ( 476, 'VIEW_HOLD_MATRIX_MATCHPOINT', oils_i18n_gettext( 476,
1468 'VIEW_HOLD_MATRIX_MATCHPOINT', 'ppl', 'description' )),
1469 ( 477, 'VIEW_INVOICE', oils_i18n_gettext( 477,
1470 'VIEW_INVOICE', 'ppl', 'description' )),
1471 ( 478, 'VIEW_MERGE_PROFILE', oils_i18n_gettext( 478,
1472 'VIEW_MERGE_PROFILE', 'ppl', 'description' )),
1473 ( 479, 'VIEW_SERIAL_SUBSCRIPTION', oils_i18n_gettext( 479,
1474 'VIEW_SERIAL_SUBSCRIPTION', 'ppl', 'description' )),
1475 ( 480, 'VIEW_STANDING_PENALTY', oils_i18n_gettext( 480,
1476 'VIEW_STANDING_PENALTY', 'ppl', 'description' )),
1477 ( 481, 'ADMIN_SERIAL_CAPTION_PATTERN', oils_i18n_gettext( 481,
1478 'ADMIN_SERIAL_CAPTION_PATTERN', 'ppl', 'description' )),
1479 ( 482, 'ADMIN_SERIAL_DISTRIBUTION', oils_i18n_gettext( 482,
1480 'ADMIN_SERIAL_DISTRIBUTION', 'ppl', 'description' )),
1481 ( 483, 'ADMIN_SERIAL_STREAM', oils_i18n_gettext( 483,
1482 'ADMIN_SERIAL_STREAM', 'ppl', 'description' )),
1483 ( 484, 'RECEIVE_SERIAL', oils_i18n_gettext(484,
1484 'Receive serial items', 'ppl', 'description')),
1485 ( 485, 'CREATE_VOLUME_SUFFIX', oils_i18n_gettext(485,
1486 'Create suffix label definition.', 'ppl', 'description')),
1487 ( 486, 'UPDATE_VOLUME_SUFFIX', oils_i18n_gettext(486,
1488 'Update suffix label definition.', 'ppl', 'description')),
1489 ( 487, 'DELETE_VOLUME_SUFFIX', oils_i18n_gettext(487,
1490 'Delete suffix label definition.', 'ppl', 'description')),
1491 ( 488, 'CREATE_VOLUME_PREFIX', oils_i18n_gettext(488,
1492 'Create prefix label definition.', 'ppl', 'description')),
1493 ( 489, 'UPDATE_VOLUME_PREFIX', oils_i18n_gettext(489,
1494 'Update prefix label definition.', 'ppl', 'description')),
1495 ( 490, 'DELETE_VOLUME_PREFIX', oils_i18n_gettext(490,
1496 'Delete prefix label definition.', 'ppl', 'description')),
1497 ( 491, 'CREATE_MONOGRAPH_PART', oils_i18n_gettext(491,
1498 'Create monograph part definition.', 'ppl', 'description')),
1499 ( 492, 'UPDATE_MONOGRAPH_PART', oils_i18n_gettext(492,
1500 'Update monograph part definition.', 'ppl', 'description')),
1501 ( 493, 'DELETE_MONOGRAPH_PART', oils_i18n_gettext(493,
1502 'Delete monograph part definition.', 'ppl', 'description')),
1503 ( 494, 'ADMIN_CODED_VALUE', oils_i18n_gettext(494,
1504 'Create/Update/Delete SVF Record Attribute Coded Value Map', 'ppl', 'description')),
1505 ( 495, 'ADMIN_SERIAL_ITEM', oils_i18n_gettext(495,
1506 'Create/Retrieve/Update/Delete Serial Item', 'ppl', 'description')),
1507 ( 496, 'ADMIN_SVF', oils_i18n_gettext(496,
1508 'Create/Update/Delete SVF Record Attribute Defintion', 'ppl', 'description')),
1509 ( 497, 'CREATE_BIB_PTYPE', oils_i18n_gettext(497,
1510 'Create Bibliographic Record Peer Type', 'ppl', 'description')),
1511 ( 498, 'CREATE_PURCHASE_REQUEST', oils_i18n_gettext(498,
1512 'Create User Purchase Request', 'ppl', 'description')),
1513 ( 499, 'DELETE_BIB_PTYPE', oils_i18n_gettext(499,
1514 'Delete Bibliographic Record Peer Type', 'ppl', 'description')),
1515 ( 500, 'MAP_MONOGRAPH_PART', oils_i18n_gettext(500,
1516 'Create/Update/Delete Copy Monograph Part Map', 'ppl', 'description')),
1517 ( 501, 'MARK_ITEM_MISSING_PIECES', oils_i18n_gettext(501,
1518 'Allows the Mark Item Missing Pieces action.', 'ppl', 'description')),
1519 ( 502, 'UPDATE_BIB_PTYPE', oils_i18n_gettext(502,
1520 'Update Bibliographic Record Peer Type', 'ppl', 'description')),
1521 ( 503, 'UPDATE_HOLD_REQUEST_TIME', oils_i18n_gettext(503,
1522 'Allows editing of a hold''s request time, and/or its Cut-in-line/Top-of-queue flag.', 'ppl', 'description')),
1523 ( 504, 'UPDATE_PICKLIST', oils_i18n_gettext(504,
1524 'Allows update/re-use of an acquisitions pick/selection list.', 'ppl', 'description')),
1525 ( 505, 'UPDATE_WORKSTATION', oils_i18n_gettext(505,
1526 'Allows update of a workstation during workstation registration override.', 'ppl', 'description')),
1527 ( 506, 'VIEW_USER_SETTING_TYPE', oils_i18n_gettext(506,
1528 'Allows viewing of configurable user setting types.', 'ppl', 'description')),
1529 ( 507, 'ABORT_TRANSIT_ON_LOST', oils_i18n_gettext(507,
1530 'Allows a user to cancel a transit on a copy with status of LOST', 'ppl', 'description')),
1531 ( 508, 'ABORT_TRANSIT_ON_MISSING', oils_i18n_gettext(508,
1532 'Allows a user to cancel a transit on a copy with status of MISSING', 'ppl', 'description')),
1533 ( 509, 'TRANSIT_CHECKIN_INTERVAL_BLOCK.override', oils_i18n_gettext(509,
1534 'Allows a user to override the TRANSIT_CHECKIN_INTERVAL_BLOCK event', 'ppl', 'description')),
1535 ( 510, 'UPDATE_PATRON_COLLECTIONS_EXEMPT', oils_i18n_gettext(510,
1536 'Allows a user to indicate that a patron is exempt from collections processing', 'ppl', 'description')),
1537 ( 511, 'PERSISTENT_LOGIN', oils_i18n_gettext( 511,
1538 'Allows a user to authenticate and get a long-lived session (length configured in opensrf.xml)', 'ppl', 'description' )),
1539 ( 512, 'ACQ_INVOICE_REOPEN', oils_i18n_gettext( 512,
1540 'Allows a user to reopen an Acquisitions invoice', 'ppl', 'description' )),
1541 ( 513, 'DEBUG_CLIENT', oils_i18n_gettext( 513,
1542 'Allows a user to use debug functions in the staff client', 'ppl', 'description' )),
1543 ( 514, 'UPDATE_PATRON_ACTIVE_CARD', oils_i18n_gettext( 514,
1544 'Allows a user to manually adjust a patron''s active cards', 'ppl', 'description')),
1545 ( 515, 'UPDATE_PATRON_PRIMARY_CARD', oils_i18n_gettext( 515,
1546 'Allows a user to manually adjust a patron''s primary card', 'ppl', 'description')),
1547 ( 516, 'CREATE_REPORT_TEMPLATE', oils_i18n_gettext( 516,
1548 'Allows a user to create report templates', 'ppl', 'description' )),
1549 ( 517, 'COPY_HOLDS_FORCE', oils_i18n_gettext( 517,
1550 'Allow a user to place a force hold on a specific copy', 'ppl', 'description' )),
1551 ( 518, 'COPY_HOLDS_RECALL', oils_i18n_gettext( 518,
1552 'Allow a user to place a cataloging recall on a specific copy', 'ppl', 'description' )),
1553 ( 519, 'ADMIN_SMS_CARRIER', oils_i18n_gettext( 519,
1554 'Allows a user to add/create/delete SMS Carrier entries.', 'ppl', 'description' )),
1555 ( 520, 'COPY_DELETE_WARNING.override', oils_i18n_gettext( 520,
1556 'Allow a user to override warnings about deleting copies in problematic situations.', 'ppl', 'description' )),
1557 ( 521, 'IMPORT_ACQ_LINEITEM_BIB_RECORD_UPLOAD', oils_i18n_gettext( 521,
1558 'Allows a user to create new bibs directly from an ACQ MARC file upload', 'ppl', 'description' )),
1559 ( 522, 'IMPORT_AUTHORITY_MARC', oils_i18n_gettext( 522,
1560 'Allows a user to create new authority records', 'ppl', 'description' )),
1561 ( 523, 'ADMIN_TOOLBAR', oils_i18n_gettext( 523,
1562 'Allows a user to create, edit, and delete custom toolbars', 'ppl', 'description' )),
1563 ( 524, 'PLACE_UNFILLABLE_HOLD', oils_i18n_gettext( 524,
1564 'Allows a user to place a hold that cannot currently be filled.', 'ppl', 'description' )),
1565 ( 525, 'CREATE_PATRON_STAT_CAT_ENTRY_DEFAULT', oils_i18n_gettext( 525,
1566 'User may set a default entry in a patron statistical category', 'ppl', 'description' )),
1567 ( 526, 'UPDATE_PATRON_STAT_CAT_ENTRY_DEFAULT', oils_i18n_gettext( 526,
1568 'User may reset a default entry in a patron statistical category', 'ppl', 'description' )),
1569 ( 527, 'DELETE_PATRON_STAT_CAT_ENTRY_DEFAULT', oils_i18n_gettext( 527,
1570 'User may unset a default entry in a patron statistical category', 'ppl', 'description' )),
1571 ( 528, 'ADMIN_ORG_UNIT_CUSTOM_TREE', oils_i18n_gettext( 528,
1572 'User may update custom org unit trees', 'ppl', 'description' )),
1573 ( 529, 'ADMIN_IMPORT_MATCH_SET', oils_i18n_gettext( 529,
1574 'Allows a user to create/retrieve/update/delete vandelay match sets', 'ppl', 'description' )),
1575 ( 530, 'VIEW_IMPORT_MATCH_SET', oils_i18n_gettext( 530,
1576 'Allows a user to view vandelay match sets', 'ppl', 'description' )),
1577 ( 531, 'ADMIN_ADDRESS_ALERT', oils_i18n_gettext( 531,
1578 'Allows a user to create/retrieve/update/delete address alerts', 'ppl', 'description' )),
1579 ( 532, 'VIEW_ADDRESS_ALERT', oils_i18n_gettext( 532,
1580 'Allows a user to view address alerts', 'ppl', 'description' )),
1581 ( 533, 'ADMIN_COPY_LOCATION_GROUP', oils_i18n_gettext( 533,
1582 'Allows a user to create/retrieve/update/delete copy location groups', 'ppl', 'description' )),
1583 ( 534, 'ADMIN_USER_ACTIVITY_TYPE', oils_i18n_gettext( 534,
1584 'Allows a user to create/retrieve/update/delete user activity types', 'ppl', 'description' )),
1585 ( 535, 'VIEW_TRIGGER_EVENT', oils_i18n_gettext( 535,
1586 'Allows a user to view circ- and hold-related action/trigger events', 'ppl', 'description')),
1587 ( 536, 'IMPORT_OVERLAY_COPY', oils_i18n_gettext( 536,
1588 'Allows a user to overlay copy data in MARC import', 'ppl', 'description')),
1589 ( 537, 'ADMIN_SEARCH_FILTER_GROUP', oils_i18n_gettext( 537,
1590 'Allows staff to manage search filter groups and entries', 'ppl', 'description' )),
1591 ( 538, 'VIEW_SEARCH_FILTER_GROUP', oils_i18n_gettext( 538,
1592 'Allows staff to view search filter groups and entries', 'ppl', 'description' )),
1593 ( 539, 'UPDATE_ORG_UNIT_SETTING.ui.hide_copy_editor_fields', oils_i18n_gettext( 539,
1594 'Allows staff to edit displayed copy editor fields', 'ppl', 'description' )),
1595 ( 540, 'ADMIN_TOOLBAR_FOR_ORG', oils_i18n_gettext( 540,
1596 'Allows a user to create, edit, and delete custom toolbars for org units', 'ppl', 'description')),
1597 ( 541, 'ADMIN_TOOLBAR_FOR_WORKSTATION', oils_i18n_gettext( 541,
1598 'Allows a user to create, edit, and delete custom toolbars for workstations', 'ppl', 'description')),
1599 ( 542, 'ADMIN_TOOLBAR_FOR_USER', oils_i18n_gettext( 542,
1600 'Allows a user to create, edit, and delete custom toolbars for users', 'ppl', 'description')),
1601 ( 543, 'URL_VERIFY', oils_i18n_gettext( 543,
1602 'Allows a user to process and verify URLs', 'ppl', 'description')),
1603 ( 544, 'URL_VERIFY_UPDATE_SETTINGS', oils_i18n_gettext( 544,
1604 'Allows a user to configure URL verification org unit settings', 'ppl', 'description')),
1605 ( 545, 'SAVED_FILTER_DIALOG_FILTERS', oils_i18n_gettext( 545,
1606 'Allows users to save and load sets of filters for filter dialogs, available in certain staff interfaces', 'ppl', 'description')),
1607 ( 546, 'ADMIN_HOLD_CAPTURE_SORT', oils_i18n_gettext( 546,
1608 'Allows a user to make changes to best-hold selection sort order', 'ppl', 'description')),
1609 ( 547, 'ACQ_ADD_LINEITEM_IDENTIFIER', oils_i18n_gettext(547,
1610 'When granted, newly added lineitem identifiers will propagate to linked bib records', 'ppl', 'description')),
1611 ( 548, 'ACQ_SET_LINEITEM_IDENTIFIER', oils_i18n_gettext(548,
1612 'Allows staff to change the lineitem identifier', 'ppl', 'description')),
1613 ( 549, 'COPY_STATUS_LONG_OVERDUE.override', oils_i18n_gettext(549,
1614 'Allows the user to check-in long-overdue items, prompting ' ||
1615 'long-overdue check-in processing', 'ppl', 'code')),
1616 ( 550, 'SET_CIRC_LONG_OVERDUE', oils_i18n_gettext(550,
1617 'Allows the user to mark a circulation as long-overdue', 'ppl', 'code')),
1618 ( 551, 'ADMIN_SERVER_ADDON_FOR_WORKSTATION', oils_i18n_gettext( 551,
1619 'Allows a user to specify which Server Add-ons get invoked at the current workstation', 'ppl', 'description')),
1620 ( 552, 'ADMIN_FLOAT_GROUPS', oils_i18n_gettext( 552,
1621 'Allows administration of floating groups', 'ppl', 'description' )),
1622 ( 553, 'UPDATE_ORG_UNIT_SETTING.circ.min_item_price', oils_i18n_gettext( 553,
1623 'UPDATE_ORG_UNIT_SETTING.circ.min_item_price', 'ppl', 'description' )),
1624 ( 554, 'UPDATE_ORG_UNIT_SETTING.circ.max_item_price', oils_i18n_gettext( 554,
1625 'UPDATE_ORG_UNIT_SETTING.circ.max_item_price', 'ppl', 'description' )),
1626 ( 555, 'group_application.user.staff.admin.system_admin', oils_i18n_gettext( 555,
1627 'Allow a user to add/remove users to/from the "System Administrator" group', 'ppl', 'description' )),
1628 ( 556, 'group_application.user.staff.cat_admin', oils_i18n_gettext( 556,
1629 'Allow a user to add/remove users to/from the "Cataloging Administrator" group', 'ppl', 'description' )),
1630 ( 557, 'group_application.user.staff.circ_admin', oils_i18n_gettext( 557,
1631 'Allow a user to add/remove users to/from the "Circulation Administrator" group', 'ppl', 'description' )),
1632 ( 558, 'group_application.user.staff.data_review', oils_i18n_gettext( 558,
1633 'Allow a user to add/remove users to/from the "Data Review" group', 'ppl', 'description' )),
1634 ( 559, 'group_application.user.staff.volunteers', oils_i18n_gettext( 559,
1635 'Allow a user to add/remove users to/from the "Volunteers" group', 'ppl', 'description' )),
1636 ( 560, 'TOTAL_HOLD_COPY_RATIO_EXCEEDED.override', oils_i18n_gettext( 560,
1637 'Override the TOTAL_HOLD_COPY_RATIO_EXCEEDED event', 'ppl', 'description')),
1638 ( 561, 'AVAIL_HOLD_COPY_RATIO_EXCEEDED.override', oils_i18n_gettext( 561,
1639 'Override the AVAIL_HOLD_COPY_RATIO_EXCEEDED event', 'ppl', 'description')),
1640 ( 562, 'ADMIN_TAG_TABLE', oils_i18n_gettext( 562,
1641 'Allow administration of MARC tag tables', 'ppl', 'description' )),
1642 ( 563, 'ADJUST_BILLS', oils_i18n_gettext( 563,
1643 'Allow a user to adjust a bill (generally to zero)', 'ppl', 'description' )),
1644 ( 564, 'MARK_ITEM_CATALOGING', oils_i18n_gettext( 564,
1645 'Allow a user to mark an item status as ''cataloging''', 'ppl', 'description' )),
1646 ( 565, 'MARK_ITEM_DAMAGED', oils_i18n_gettext( 565,
1647 'Allow a user to mark an item status as ''damaged''', 'ppl', 'description' )),
1648 ( 566, 'MARK_ITEM_DISCARD', oils_i18n_gettext( 566,
1649 'Allow a user to mark an item status as ''discard''', 'ppl', 'description' )),
1650 ( 567, 'MARK_ITEM_RESERVES', oils_i18n_gettext( 567,
1651 'Allow a user to mark an item status as ''reserves''', 'ppl', 'description' )),
1652 ( 568, 'ADMIN_ORG_UNIT_SETTING_TYPE_LOG', oils_i18n_gettext( 568,
1653 'Allow a user to modify the org unit settings log', 'ppl', 'description' )),
1654 ( 570, 'CREATE_POP_BADGE', oils_i18n_gettext( 570,
1655 'Allow a user to create a new popularity badge', 'ppl', 'description' )),
1656 ( 571, 'DELETE_POP_BADGE', oils_i18n_gettext( 571,
1657 'Allow a user to delete a popularity badge', 'ppl', 'description' )),
1658 ( 572, 'UPDATE_POP_BADGE', oils_i18n_gettext( 572,
1659 'Allow a user to modify a popularity badge', 'ppl', 'description' )),
1660 ( 573, 'CREATE_POP_PARAMETER', oils_i18n_gettext( 573,
1661 'Allow a user to create a popularity badge parameter', 'ppl', 'description' )),
1662 ( 574, 'DELETE_POP_PARAMETER', oils_i18n_gettext( 574,
1663 'Allow a user to delete a popularity badge parameter', 'ppl', 'description' )),
1664 ( 575, 'UPDATE_POP_PARAMETER', oils_i18n_gettext( 575,
1665 'Allow a user to modify a popularity badge parameter', 'ppl', 'description' )),
1666 ( 576, 'CREATE_AUTHORITY_RECORD', oils_i18n_gettext( 576,
1667 'Allow a user to create an authority record', 'ppl', 'description' )),
1668 ( 577, 'DELETE_AUTHORITY_RECORD', oils_i18n_gettext( 577,
1669 'Allow a user to delete an authority record', 'ppl', 'description' )),
1670 ( 578, 'UPDATE_AUTHORITY_RECORD', oils_i18n_gettext( 578,
1671 'Allow a user to modify an authority record', 'ppl', 'description' )),
1672 ( 579, 'CREATE_AUTHORITY_CONTROL_SET', oils_i18n_gettext( 579,
1673 'Allow a user to create an authority control set', 'ppl', 'description' )),
1674 ( 580, 'DELETE_AUTHORITY_CONTROL_SET', oils_i18n_gettext( 580,
1675 'Allow a user to delete an authority control set', 'ppl', 'description' )),
1676 ( 581, 'UPDATE_AUTHORITY_CONTROL_SET', oils_i18n_gettext( 581,
1677 'Allow a user to modify an authority control set', 'ppl', 'description' )),
1678 ( 582, 'ACTOR_USER_DELETE_OPEN_XACTS.override', oils_i18n_gettext( 582,
1679 'Override the ACTOR_USER_DELETE_OPEN_XACTS event', 'ppl', 'description' )),
1680 ( 583, 'PATRON_EXCEEDS_LOST_COUNT.override', oils_i18n_gettext( 583,
1681 'Override the PATRON_EXCEEDS_LOST_COUNT event', 'ppl', 'description' )),
1682 ( 584, 'MAX_HOLDS.override', oils_i18n_gettext( 584,
1683 'Override the MAX_HOLDS event', 'ppl', 'description' )),
1684 ( 585, 'ITEM_DEPOSIT_REQUIRED.override', oils_i18n_gettext( 585,
1685 'Override the ITEM_DEPOSIT_REQUIRED event', 'ppl', 'description' )),
1686 ( 586, 'ITEM_DEPOSIT_PAID.override', oils_i18n_gettext( 586,
1687 'Override the ITEM_DEPOSIT_PAID event', 'ppl', 'description' )),
1688 ( 587, 'COPY_STATUS_LOST_AND_PAID.override', oils_i18n_gettext( 587,
1689 'Override the COPY_STATUS_LOST_AND_PAID event', 'ppl', 'description' )),
1690 ( 588, 'ITEM_NOT_HOLDABLE.override', oils_i18n_gettext( 588,
1691 'Override the ITEM_NOT_HOLDABLE event', 'ppl', 'description' )),
1692 ( 589, 'ITEM_RENTAL_FEE_REQUIRED.override', oils_i18n_gettext( 589,
1693 'Override the ITEM_RENTAL_FEE_REQUIRED event', 'ppl', 'description' )),
1694 ( 590, 'ADMIN_COPY_TAG_TYPES', oils_i18n_gettext( 590,
1695 'Administer copy tag types', 'ppl', 'description' )),
1696 ( 591, 'ADMIN_COPY_TAG', oils_i18n_gettext( 591,
1697 'Administer copy tag', 'ppl', 'description' )),
1698 ( 592,'CONTAINER_BATCH_UPDATE', oils_i18n_gettext( 592,
1699 'Allow batch update via buckets', 'ppl', 'description' )),
1700 ( 593, 'ADMIN_SERIAL_PATTERN_TEMPLATE', oils_i18n_gettext( 593,
1701 'Administer serial prediction pattern templates', 'ppl', 'description' ))
1704 SELECT SETVAL('permission.perm_list_id_seq'::TEXT, 1000);
1706 INSERT INTO permission.grp_tree (id, name, parent, description, perm_interval, usergroup, application_perm) VALUES
1707 (1, oils_i18n_gettext(1, 'Users', 'pgt', 'name'), NULL, NULL, '3 years', FALSE, 'group_application.user');
1708 INSERT INTO permission.grp_tree (id, name, parent, description, perm_interval, usergroup, application_perm) VALUES
1709 (2, oils_i18n_gettext(2, 'Patrons', 'pgt', 'name'), 1, NULL, '3 years', TRUE, 'group_application.user.patron');
1710 INSERT INTO permission.grp_tree (id, name, parent, description, perm_interval, usergroup, application_perm) VALUES
1711 (3, oils_i18n_gettext(3, 'Staff', 'pgt', 'name'), 1, NULL, '3 years', FALSE, 'group_application.user.staff');
1712 INSERT INTO permission.grp_tree (id, name, parent, description, perm_interval, usergroup, application_perm) VALUES
1713 (4, oils_i18n_gettext(4, 'Catalogers', 'pgt', 'name'), 3, NULL, '3 years', TRUE, 'group_application.user.staff.cat');
1714 INSERT INTO permission.grp_tree (id, name, parent, description, perm_interval, usergroup, application_perm) VALUES
1715 (5, oils_i18n_gettext(5, 'Circulators', 'pgt', 'name'), 3, NULL, '3 years', TRUE, 'group_application.user.staff.circ');
1716 INSERT INTO permission.grp_tree (id, name, parent, description, perm_interval, usergroup, application_perm) VALUES
1717 (6, oils_i18n_gettext(6, 'Acquisitions', 'pgt', 'name'), 3, NULL, '3 years', TRUE, 'group_application.user.staff.acq');
1718 INSERT INTO permission.grp_tree (id, name, parent, description, perm_interval, usergroup, application_perm) VALUES
1719 (7, oils_i18n_gettext(7, 'Acquisitions Administrator', 'pgt', 'name'), 3, NULL, '3 years', TRUE, 'group_application.user.staff.acq_admin');
1720 INSERT INTO permission.grp_tree (id, name, parent, description, perm_interval, usergroup, application_perm) VALUES
1721 (8, oils_i18n_gettext(8, 'Cataloging Administrator', 'pgt', 'name'), 3, NULL, '3 years', TRUE, 'group_application.user.staff.cat_admin');
1722 INSERT INTO permission.grp_tree (id, name, parent, description, perm_interval, usergroup, application_perm) VALUES
1723 (9, oils_i18n_gettext(9, 'Circulation Administrator', 'pgt', 'name'), 3, NULL, '3 years', TRUE, 'group_application.user.staff.circ_admin');
1724 INSERT INTO permission.grp_tree (id, name, parent, description, perm_interval, usergroup, application_perm) VALUES
1725 (10, oils_i18n_gettext(10, 'Local Administrator', 'pgt', 'name'), 3,
1726 oils_i18n_gettext(10, 'Can do anything at the Branch level', 'pgt', 'description'), '3 years', TRUE, 'group_application.user.staff.admin.local_admin');
1727 INSERT INTO permission.grp_tree (id, name, parent, description, perm_interval, usergroup, application_perm) VALUES
1728 (11, oils_i18n_gettext(11, 'Serials', 'pgt', 'name'), 3,
1729 oils_i18n_gettext(11, 'Serials (includes admin features)', 'pgt', 'description'), '3 years', TRUE, 'group_application.user.staff.serials');
1730 INSERT INTO permission.grp_tree (id, name, parent, description, perm_interval, usergroup, application_perm) VALUES
1731 (12, oils_i18n_gettext(12, 'System Administrator', 'pgt', 'name'), 3,
1732 oils_i18n_gettext(12, 'Can do anything at the System level', 'pgt', 'description'), '3 years', TRUE, 'group_application.user.staff.admin.system_admin');
1733 INSERT INTO permission.grp_tree (id, name, parent, description, perm_interval, usergroup, application_perm) VALUES
1734 (13, oils_i18n_gettext(13, 'Global Administrator', 'pgt', 'name'), 3,
1735 oils_i18n_gettext(13, 'Can do anything at the Consortium level', 'pgt', 'description'), '3 years', TRUE, 'group_application.user.staff.admin.global_admin');
1736 INSERT INTO permission.grp_tree (id, name, parent, description, perm_interval, usergroup, application_perm) VALUES
1737 (14, oils_i18n_gettext(14, 'Data Review', 'pgt', 'name'), 3, NULL, '3 years', TRUE, 'group_application.user.staff.data_review');
1738 INSERT INTO permission.grp_tree (id, name, parent, description, perm_interval, usergroup, application_perm) VALUES
1739 (15, oils_i18n_gettext(15, 'Volunteers', 'pgt', 'name'), 3, NULL, '3 years', TRUE, 'group_application.user.staff.volunteers');
1741 SELECT SETVAL('permission.grp_tree_id_seq'::TEXT, (SELECT MAX(id) FROM permission.grp_tree));
1743 INSERT INTO permission.grp_penalty_threshold (grp,org_unit,penalty,threshold)
1744 VALUES (1,1,1,10.0);
1745 INSERT INTO permission.grp_penalty_threshold (grp,org_unit,penalty,threshold)
1746 VALUES (1,1,2,10.0);
1747 INSERT INTO permission.grp_penalty_threshold (grp,org_unit,penalty,threshold)
1748 VALUES (1,1,3,10.0);
1749 INSERT INTO permission.grp_penalty_threshold (grp,org_unit,penalty,threshold)
1750 VALUES (1,1,5,10.0);
1752 SELECT SETVAL('permission.grp_penalty_threshold_id_seq'::TEXT, (SELECT MAX(id) FROM permission.grp_penalty_threshold));
1755 -- Add basic user permissions to the Users group
1757 INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
1759 pgt.id, perm.id, aout.depth, FALSE
1761 permission.grp_tree pgt,
1762 permission.perm_list perm,
1763 actor.org_unit_type aout
1765 pgt.name = 'Users' AND
1766 aout.name = 'Consortium' AND
1769 'CREATE_MY_CONTAINER',
1770 'CREATE_PURCHASE_REQUEST',
1776 'user_request.create'
1780 -- Add basic user permissions to the Data Review group
1782 INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
1784 pgt.id, perm.id, aout.depth, FALSE
1786 permission.grp_tree pgt,
1787 permission.perm_list perm,
1788 actor.org_unit_type aout
1790 pgt.name = 'Data Review' AND
1791 aout.name = 'Consortium' AND
1793 'CREATE_COPY_TRANSIT',
1794 'VIEW_BILLING_TYPE',
1795 'VIEW_CIRCULATIONS',
1798 'VIEW_ORG_SETTINGS',
1802 'VIEW_USER_FINES_SUMMARY',
1803 'VIEW_USER_TRANSACTIONS',
1804 'VIEW_VOLUME_NOTES',
1807 INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
1809 pgt.id, perm.id, aout.depth, FALSE
1811 permission.grp_tree pgt,
1812 permission.perm_list perm,
1813 actor.org_unit_type aout
1815 pgt.name = 'Data Review' AND
1816 aout.name = 'System' AND
1820 'CREATE_IN_HOUSE_USE',
1821 'CREATE_TRANSACTION',
1828 -- Add basic staff permissions to the Staff group
1830 INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
1832 pgt.id, perm.id, aout.depth, FALSE
1834 permission.grp_tree pgt,
1835 permission.perm_list perm,
1836 actor.org_unit_type aout
1838 pgt.name = 'Staff' AND
1839 aout.name = 'Consortium' AND
1842 'CREATE_CONTAINER_ITEM',
1843 'CREATE_COPY_TRANSIT',
1844 'CREATE_HOLD_NOTIFICATION',
1845 'CREATE_TRANSACTION',
1848 'DELETE_CONTAINER_ITEM',
1849 'group_application.user',
1850 'group_application.user.patron',
1851 'REGISTER_WORKSTATION',
1852 'REMOTE_Z3950_QUERY',
1858 'VIEW_COPY_CHECKOUT_HISTORY',
1861 'VIEW_HOLD_NOTIFICATION',
1867 'VIEW_USER_SETTING_TYPE',
1871 INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
1873 pgt.id, perm.id, aout.depth, FALSE
1875 permission.grp_tree pgt,
1876 permission.perm_list perm,
1877 actor.org_unit_type aout
1879 pgt.name = 'Staff' AND
1880 aout.name = 'System' AND
1884 'VIEW_BILLING_TYPE',
1885 'VIEW_CIRCULATIONS',
1886 'VIEW_ORG_SETTINGS',
1887 'VIEW_PERMIT_CHECKOUT',
1889 'VIEW_USER_FINES_SUMMARY',
1890 'VIEW_USER_TRANSACTIONS');
1892 INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
1894 pgt.id, perm.id, aout.depth, FALSE
1896 permission.grp_tree pgt,
1897 permission.perm_list perm,
1898 actor.org_unit_type aout
1900 pgt.name = 'Staff' AND
1901 aout.name = 'Branch' AND
1906 'COPY_TRANSIT_RECEIVE',
1908 'CREATE_IN_HOUSE_USE',
1910 'RENEW_HOLD_OVERRIDE',
1917 -- Add basic cataloguing permissions to the Catalogers group
1919 INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
1921 pgt.id, perm.id, aout.depth, FALSE
1923 permission.grp_tree pgt,
1924 permission.perm_list perm,
1925 actor.org_unit_type aout
1927 pgt.name = 'Catalogers' AND
1928 aout.name = 'Consortium' AND
1931 'CREATE_BIB_IMPORT_QUEUE',
1932 'CREATE_IMPORT_ITEM',
1934 'CREATE_TITLE_NOTE',
1935 'DELETE_BIB_IMPORT_QUEUE',
1936 'DELETE_IMPORT_ITEM',
1938 'DELETE_TITLE_NOTE',
1939 'IMPORT_ACQ_LINEITEM_BIB_RECORD',
1941 'IMPORT_AUTHORITY_MARC',
1942 'MERGE_AUTH_RECORDS',
1943 'MERGE_BIB_RECORDS',
1944 'UPDATE_AUTHORITY_IMPORT_QUEUE',
1945 'UPDATE_AUTHORITY_RECORD_NOTE',
1946 'UPDATE_BIB_IMPORT_QUEUE',
1949 'user_request.view',
1950 'VIEW_AUTHORITY_RECORD_NOTES',
1951 'CREATE_AUTHORITY_RECORD',
1952 'DELETE_AUTHORITY_RECORD',
1953 'UPDATE_AUTHORITY_RECORD');
1955 INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
1957 pgt.id, perm.id, aout.depth, FALSE
1959 permission.grp_tree pgt,
1960 permission.perm_list perm,
1961 actor.org_unit_type aout
1963 pgt.name = 'Catalogers' AND
1964 aout.name = 'System' AND
1968 'CREATE_MFHD_RECORD',
1970 'CREATE_VOLUME_NOTE',
1973 'DELETE_MFHD_RECORD',
1975 'DELETE_VOLUME_NOTE',
1976 'MAP_MONOGRAPH_PART',
1977 'MARK_ITEM_AVAILABLE',
1978 'MARK_ITEM_BINDERY',
1979 'MARK_ITEM_CHECKED_OUT',
1981 'MARK_ITEM_IN_PROCESS',
1982 'MARK_ITEM_IN_TRANSIT',
1984 'MARK_ITEM_MISSING',
1985 'MARK_ITEM_ON_HOLDS_SHELF',
1986 'MARK_ITEM_ON_ORDER',
1987 'MARK_ITEM_RESHELVING',
1990 'UPDATE_IMPORT_ITEM',
1991 'UPDATE_MFHD_RECORD',
1993 'UPDATE_VOLUME_NOTE',
1994 'VIEW_SERIAL_SUBSCRIPTION',
1995 'MARK_ITEM_CATALOGING',
1996 'MARK_ITEM_DAMAGED',
1997 'MARK_ITEM_DISCARD',
1998 'MARK_ITEM_RESERVES',
2004 -- Add advanced cataloguing permissions to the Cataloging Admin group
2006 INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
2008 pgt.id, perm.id, aout.depth, TRUE
2010 permission.grp_tree pgt,
2011 permission.perm_list perm,
2012 actor.org_unit_type aout
2014 pgt.name = 'Cataloging Administrator' AND
2015 aout.name = 'Consortium' AND
2017 'ADMIN_IMPORT_ITEM_ATTR_DEF',
2018 'ADMIN_MERGE_PROFILE',
2019 'CREATE_AUTHORITY_IMPORT_IMPORT_DEF',
2020 'CREATE_BIB_IMPORT_FIELD_DEF',
2022 'CREATE_BIB_SOURCE',
2023 'CREATE_IMPORT_ITEM_ATTR_DEF',
2024 'CREATE_IMPORT_TRASH_FIELD',
2025 'CREATE_MERGE_PROFILE',
2026 'CREATE_MONOGRAPH_PART',
2027 'CREATE_VOLUME_PREFIX',
2028 'CREATE_VOLUME_SUFFIX',
2029 'DELETE_AUTHORITY_IMPORT_IMPORT_FIELD_DEF',
2031 'DELETE_BIB_SOURCE',
2032 'DELETE_IMPORT_ITEM_ATTR_DEF',
2033 'DELETE_IMPORT_TRASH_FIELD',
2034 'DELETE_MERGE_PROFILE',
2035 'DELETE_MONOGRAPH_PART',
2036 'DELETE_VOLUME_PREFIX',
2037 'DELETE_VOLUME_SUFFIX',
2038 'MAP_MONOGRAPH_PART',
2039 'UPDATE_AUTHORITY_IMPORT_IMPORT_FIELD_DEF',
2040 'UPDATE_BIB_IMPORT_IMPORT_FIELD_DEF',
2042 'UPDATE_IMPORT_ITEM_ATTR_DEF',
2043 'UPDATE_IMPORT_TRASH_FIELD',
2044 'UPDATE_MERGE_PROFILE',
2045 'UPDATE_MONOGRAPH_PART',
2046 'UPDATE_VOLUME_PREFIX',
2047 'UPDATE_VOLUME_SUFFIX',
2048 'CREATE_AUTHORITY_CONTROL_SET',
2049 'DELETE_AUTHORITY_CONTROL_SET',
2050 'UPDATE_AUTHORITY_CONTROL_SET');
2052 INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
2054 pgt.id, perm.id, aout.depth, TRUE
2056 permission.grp_tree pgt,
2057 permission.perm_list perm,
2058 actor.org_unit_type aout
2060 pgt.name = 'Cataloging Administrator' AND
2061 aout.name = 'System' AND
2063 'CREATE_COPY_STAT_CAT',
2064 'CREATE_COPY_STAT_CAT_ENTRY',
2065 'CREATE_COPY_STAT_CAT_ENTRY_MAP',
2067 'CREATE_REPORT_TEMPLATE',
2068 'SHARE_REPORT_FOLDER',
2069 'UPDATE_COPY_LOCATION',
2070 'UPDATE_COPY_STAT_CAT',
2071 'UPDATE_COPY_STAT_CAT_ENTRY',
2072 'VIEW_REPORT_OUTPUT'
2076 'CREATE_POP_PARAMETER',
2077 'DELETE_POP_PARAMETER',
2078 'UPDATE_POP_PARAMETER');
2081 -- Add basic circulation permissions to the Circulators group
2083 INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
2085 pgt.id, perm.id, aout.depth, FALSE
2087 permission.grp_tree pgt,
2088 permission.perm_list perm,
2089 actor.org_unit_type aout
2091 pgt.name = 'Circulators' AND
2092 aout.name = 'Branch' AND
2095 'ADMIN_BOOKING_RESERVATION',
2096 'ADMIN_BOOKING_RESOURCE',
2097 'ADMIN_BOOKING_RESOURCE_ATTR',
2098 'ADMIN_BOOKING_RESOURCE_ATTR_MAP',
2099 'ADMIN_BOOKING_RESOURCE_ATTR_VALUE',
2100 'ADMIN_BOOKING_RESOURCE_TYPE',
2101 'ASSIGN_GROUP_PERM',
2102 'MARK_ITEM_AVAILABLE',
2103 'MARK_ITEM_BINDERY',
2104 'MARK_ITEM_CHECKED_OUT',
2106 'MARK_ITEM_IN_PROCESS',
2107 'MARK_ITEM_IN_TRANSIT',
2109 'MARK_ITEM_MISSING',
2110 'MARK_ITEM_MISSING_PIECES',
2111 'MARK_ITEM_ON_HOLDS_SHELF',
2112 'MARK_ITEM_ON_ORDER',
2113 'MARK_ITEM_RESHELVING',
2116 'REMOVE_USER_GROUP_LINK',
2117 'SET_CIRC_CLAIMS_RETURNED',
2118 'SET_CIRC_CLAIMS_RETURNED.override',
2121 'UPDATE_PATRON_CLAIM_NEVER_CHECKED_OUT_COUNT',
2122 'UPDATE_PATRON_CLAIM_RETURN_COUNT',
2123 'UPDATE_PAYMENT_NOTE',
2124 'UPDATE_PICKUP_LIB FROM_TRANSIT',
2125 'UPDATE_PICKUP_LIB_FROM_HOLDS_SHELF',
2126 'VIEW_GROUP_PENALTY_THRESHOLD',
2127 'VIEW_STANDING_PENALTY',
2131 INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
2133 pgt.id, perm.id, aout.depth, FALSE
2135 permission.grp_tree pgt,
2136 permission.perm_list perm,
2137 actor.org_unit_type aout
2139 pgt.name = 'Circulators' AND
2140 aout.name = 'System' AND
2142 'ABORT_REMOTE_TRANSIT',
2144 'CAPTURE_RESERVATION',
2145 'CIRC_CLAIMS_RETURNED.override',
2146 'CIRC_EXCEEDS_COPY_RANGE.override',
2147 'CIRC_OVERRIDE_DUE_DATE',
2148 'CIRC_PERMIT_OVERRIDE',
2149 'COPY_ALERT_MESSAGE.override',
2150 'COPY_BAD_STATUS.override',
2151 'COPY_CIRC_NOT_ALLOWED.override',
2152 'COPY_IS_REFERENCE.override',
2153 'COPY_NEEDED_FOR_HOLD.override',
2154 'COPY_NOT_AVAILABLE.override',
2155 'COPY_STATUS_LOST.override',
2156 'COPY_STATUS_MISSING.override',
2157 'CREATE_DUPLICATE_HOLDS',
2158 'CREATE_USER_GROUP_LINK',
2160 'HOLD_EXISTS.override',
2161 'HOLD_ITEM_CHECKED_OUT.override',
2163 'ITEM_AGE_PROTECTED.override',
2164 'ITEM_ON_HOLDS_SHELF.override',
2165 'MAX_RENEWALS_REACHED.override',
2166 'OVERRIDE_HOLD_HAS_LOCAL_COPY',
2167 'PATRON_EXCEEDS_CHECKOUT_COUNT.override',
2168 'PATRON_EXCEEDS_FINES.override',
2169 'PATRON_EXCEEDS_OVERDUE_COUNT.override',
2170 'RETRIEVE_RESERVATION_PULL_LIST',
2174 -- Add advanced circulation permissions to the Circulation Admin group
2176 INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
2178 pgt.id, perm.id, aout.depth, TRUE
2180 permission.grp_tree pgt,
2181 permission.perm_list perm,
2182 actor.org_unit_type aout
2184 pgt.name = 'Circulation Administrator' AND
2185 aout.name = 'Branch' AND
2189 INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
2191 pgt.id, perm.id, aout.depth, TRUE
2193 permission.grp_tree pgt,
2194 permission.perm_list perm,
2195 actor.org_unit_type aout
2197 pgt.name = 'Circulation Administrator' AND
2198 aout.name = 'Consortium' AND
2200 'ADMIN_MAX_FINE_RULE',
2201 'CREATE_CIRC_DURATION',
2202 'DELETE_CIRC_DURATION',
2203 'MARK_ITEM_MISSING_PIECES',
2204 'UPDATE_CIRC_DURATION',
2205 'UPDATE_HOLD_REQUEST_TIME',
2206 'UPDATE_NET_ACCESS_LEVEL',
2207 'VIEW_CIRC_MATRIX_MATCHPOINT',
2208 'ABORT_TRANSIT_ON_LOST',
2209 'ABORT_TRANSIT_ON_MISSING',
2210 'UPDATE_PATRON_COLLECTIONS_EXEMPT',
2211 'VIEW_HOLD_MATRIX_MATCHPOINT');
2213 INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
2215 pgt.id, perm.id, aout.depth, TRUE
2217 permission.grp_tree pgt,
2218 permission.perm_list perm,
2219 actor.org_unit_type aout
2221 pgt.name = 'Circulation Administrator' AND
2222 aout.name = 'System' AND
2225 'ADMIN_BOOKING_RESERVATION',
2226 'ADMIN_BOOKING_RESERVATION_ATTR_MAP',
2227 'ADMIN_BOOKING_RESERVATION_ATTR_VALUE_MAP',
2228 'ADMIN_BOOKING_RESOURCE',
2229 'ADMIN_BOOKING_RESOURCE_ATTR',
2230 'ADMIN_BOOKING_RESOURCE_ATTR_MAP',
2231 'ADMIN_BOOKING_RESOURCE_ATTR_VALUE',
2232 'ADMIN_BOOKING_RESOURCE_TYPE',
2233 'ADMIN_COPY_LOCATION_ORDER',
2234 'ADMIN_HOLD_CANCEL_CAUSE',
2235 'ASSIGN_GROUP_PERM',
2238 'COPY_TRANSIT_RECEIVE',
2240 'CREATE_BILLING_TYPE',
2241 'CREATE_NON_CAT_TYPE',
2242 'CREATE_PATRON_STAT_CAT',
2243 'CREATE_PATRON_STAT_CAT_ENTRY',
2244 'CREATE_PATRON_STAT_CAT_ENTRY_DEFAULT',
2245 'CREATE_PATRON_STAT_CAT_ENTRY_MAP',
2246 'CREATE_USER_GROUP_LINK',
2247 'DELETE_BILLING_TYPE',
2248 'DELETE_NON_CAT_TYPE',
2249 'DELETE_PATRON_STAT_CAT',
2250 'DELETE_PATRON_STAT_CAT_ENTRY',
2251 'DELETE_PATRON_STAT_CAT_ENTRY_DEFAULT',
2252 'DELETE_PATRON_STAT_CAT_ENTRY_MAP',
2254 'group_application.user.staff',
2256 'MARK_ITEM_AVAILABLE',
2257 'MARK_ITEM_BINDERY',
2258 'MARK_ITEM_CHECKED_OUT',
2260 'MARK_ITEM_IN_PROCESS',
2261 'MARK_ITEM_IN_TRANSIT',
2263 'MARK_ITEM_MISSING',
2264 'MARK_ITEM_ON_HOLDS_SHELF',
2265 'MARK_ITEM_ON_ORDER',
2266 'MARK_ITEM_RESHELVING',
2268 'money.collections_tracker.create',
2269 'money.collections_tracker.delete',
2273 'REMOVE_USER_GROUP_LINK',
2274 'SET_CIRC_CLAIMS_RETURNED',
2275 'SET_CIRC_CLAIMS_RETURNED.override',
2279 'UPDATE_NON_CAT_TYPE',
2280 'UPDATE_PATRON_CLAIM_NEVER_CHECKED_OUT_COUNT',
2281 'UPDATE_PATRON_CLAIM_RETURN_COUNT',
2282 'UPDATE_PICKUP_LIB_FROM_HOLDS_SHELF',
2283 'UPDATE_PICKUP_LIB_FROM_TRANSIT',
2285 'VIEW_REPORT_OUTPUT',
2286 'VIEW_STANDING_PENALTY',
2288 'TRANSIT_CHECKIN_INTERVAL_BLOCK.override',
2290 'ACTOR_USER_DELETE_OPEN_XACTS.override',
2291 'PATRON_EXCEEDS_LOST_COUNT.override',
2292 'MAX_HOLDS.override',
2293 'ITEM_DEPOSIT_REQUIRED.override',
2294 'ITEM_RENTAL_FEE_REQUIRED.override',
2295 'ITEM_DEPOSIT_PAID.override',
2296 'COPY_STATUS_LOST_AND_PAID.override',
2297 'ITEM_NOT_HOLDABLE.override');
2300 -- Add basic sys admin permissions to the Local Administrator group
2302 INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
2304 pgt.id, perm.id, aout.depth, TRUE
2306 permission.grp_tree pgt,
2307 permission.perm_list perm,
2308 actor.org_unit_type aout
2310 pgt.name = 'Local Administrator' AND
2311 aout.name = 'Branch' AND
2316 -- Add administration permissions to the System Administrator group
2318 INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
2320 pgt.id, perm.id, aout.depth, TRUE
2322 permission.grp_tree pgt,
2323 permission.perm_list perm,
2324 actor.org_unit_type aout
2326 pgt.name = 'System Administrator' AND
2327 aout.name = 'System' AND
2331 INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
2333 pgt.id, perm.id, aout.depth, FALSE
2335 permission.grp_tree pgt,
2336 permission.perm_list perm,
2337 actor.org_unit_type aout
2339 pgt.name = 'System Administrator' AND
2340 aout.name = 'Consortium' AND
2341 perm.code ~ '^VIEW_TRIGGER';
2344 -- Add administration permissions to the Global Administrator group
2346 INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
2348 pgt.id, perm.id, aout.depth, TRUE
2350 permission.grp_tree pgt,
2351 permission.perm_list perm,
2352 actor.org_unit_type aout
2354 pgt.name = 'Global Administrator' AND
2355 aout.name = 'Consortium' AND
2360 -- Add basic acquisitions permissions to the Acquisitions group
2362 SELECT SETVAL('permission.grp_perm_map_id_seq'::TEXT, (SELECT MAX(id) FROM permission.grp_perm_map));
2364 INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
2366 pgt.id, perm.id, aout.depth, FALSE
2368 permission.grp_tree pgt,
2369 permission.perm_list perm,
2370 actor.org_unit_type aout
2372 pgt.name = 'Acquisitions' AND
2373 aout.name = 'Consortium' AND
2376 'CREATE_BIB_IMPORT_QUEUE',
2377 'CREATE_IMPORT_ITEM',
2381 'CREATE_PURCHASE_ORDER',
2382 'DELETE_BIB_IMPORT_QUEUE',
2383 'DELETE_IMPORT_ITEM',
2386 'DELETE_VOLUME_NOTE',
2388 'IMPORT_ACQ_LINEITEM_BIB_RECORD',
2392 'MANAGE_FUNDING_SOURCE',
2394 'MARK_ITEM_AVAILABLE',
2395 'MARK_ITEM_BINDERY',
2396 'MARK_ITEM_CHECKED_OUT',
2398 'MARK_ITEM_IN_PROCESS',
2399 'MARK_ITEM_IN_TRANSIT',
2401 'MARK_ITEM_MISSING',
2402 'MARK_ITEM_ON_HOLDS_SHELF',
2403 'MARK_ITEM_ON_ORDER',
2404 'MARK_ITEM_RESHELVING',
2405 'RECEIVE_PURCHASE_ORDER',
2406 'UPDATE_BATCH_COPY',
2407 'UPDATE_BIB_IMPORT_QUEUE',
2410 'UPDATE_FUND_ALLOCATION',
2411 'UPDATE_FUNDING_SOURCE',
2412 'UPDATE_IMPORT_ITEM',
2417 'user_request.delete',
2418 'user_request.update',
2419 'user_request.view',
2420 'VIEW_ACQ_FUND_ALLOCATION_PERCENT',
2421 'VIEW_ACQ_FUNDING_SOURCE',
2423 'VIEW_FUND_ALLOCATION',
2424 'VIEW_FUNDING_SOURCE',
2427 'VIEW_ORG_SETTINGS',
2430 'VIEW_PURCHASE_ORDER',
2431 'VIEW_REPORT_OUTPUT');
2434 -- Add acquisitions administration permissions to the Acquisitions Admin group
2436 INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
2438 pgt.id, perm.id, aout.depth, TRUE
2440 permission.grp_tree pgt,
2441 permission.perm_list perm,
2442 actor.org_unit_type aout
2444 pgt.name = 'Acquisitions Administrator' AND
2445 aout.name = 'Consortium' AND
2447 'ACQ_INVOICE_REOPEN',
2448 'ACQ_XFER_MANUAL_DFUND_AMOUNT',
2449 'ADMIN_ACQ_CANCEL_CAUSE',
2451 'ADMIN_ACQ_CLAIM_EVENT_TYPE',
2452 'ADMIN_ACQ_CLAIM_TYPE',
2453 'ADMIN_ACQ_DISTRIB_FORMULA',
2454 'ADMIN_ACQ_FISCAL_YEAR',
2456 'ADMIN_ACQ_FUND_ALLOCATION_PERCENT',
2457 'ADMIN_ACQ_FUND_TAG',
2458 'ADMIN_ACQ_LINE_ITEM_ALERT_TEXT',
2459 'ADMIN_CLAIM_POLICY',
2460 'ADMIN_CURRENCY_TYPE',
2462 'ADMIN_FUNDING_SOURCE',
2464 'ADMIN_INVOICE_METHOD',
2465 'ADMIN_INVOICE_PAYMENT_METHOD',
2466 'ADMIN_LINEITEM_MARC_ATTR_DEF',
2468 'ADMIN_USER_REQUEST_TYPE',
2469 'CREATE_ACQ_FUNDING_SOURCE',
2471 'CREATE_FUND_ALLOCATION',
2472 'CREATE_FUNDING_SOURCE',
2473 'CREATE_INVOICE_ITEM_TYPE',
2474 'CREATE_INVOICE_METHOD',
2476 'DELETE_ACQ_FUNDING_SOURCE',
2478 'DELETE_FUND_ALLOCATION',
2479 'DELETE_FUNDING_SOURCE',
2480 'DELETE_INVOICE_ITEM_TYPE',
2481 'DELETE_INVOICE_METHOD',
2484 'CREATE_REPORT_TEMPLATE',
2485 'SHARE_REPORT_FOLDER',
2486 'UPDATE_ACQ_FUNDING_SOURCE',
2487 'UPDATE_INVOICE_ITEM_TYPE',
2488 'UPDATE_INVOICE_METHOD',
2492 -- Add serials permissions to the Serials group
2494 INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
2496 pgt.id, perm.id, aout.depth, FALSE
2498 permission.grp_tree pgt,
2499 permission.perm_list perm,
2500 actor.org_unit_type aout
2502 pgt.name = 'Serials' AND
2503 aout.name = 'System' AND
2505 'ADMIN_ASSET_COPY_TEMPLATE',
2506 'ADMIN_SERIAL_CAPTION_PATTERN',
2507 'ADMIN_SERIAL_DISTRIBUTION',
2508 'ADMIN_SERIAL_ITEM',
2509 'ADMIN_SERIAL_PATTERN_TEMPLATE',
2510 'ADMIN_SERIAL_STREAM',
2511 'ADMIN_SERIAL_SUBSCRIPTION',
2516 -- Add basic staff permissions to the Volunteers group
2518 INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
2520 pgt.id, perm.id, aout.depth, FALSE
2522 permission.grp_tree pgt,
2523 permission.perm_list perm,
2524 actor.org_unit_type aout
2526 pgt.name = 'Volunteers' AND
2527 aout.name = 'Branch' AND
2531 'CREATE_IN_HOUSE_USE',
2533 'VIEW_BILLING_TYPE',
2535 'VIEW_COPY_CHECKOUT',
2540 'VIEW_USER_FINES_SUMMARY',
2541 'VIEW_USER_TRANSACTIONS');
2543 INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
2545 pgt.id, perm.id, aout.depth, FALSE
2547 permission.grp_tree pgt,
2548 permission.perm_list perm,
2549 actor.org_unit_type aout
2551 pgt.name = 'Volunteers' AND
2552 aout.name = 'Consortium' AND
2554 'CREATE_COPY_TRANSIT',
2555 'CREATE_TRANSACTION',
2559 'VIEW_ORG_SETTINGS');
2562 -- Admin user account
2563 INSERT INTO actor.passwd_type
2564 (code, name, login, crypt_algo, iter_count)
2565 VALUES ('main', 'Main Login Password', TRUE, 'bf', 10);
2567 INSERT INTO actor.usr ( profile, card, usrname, passwd, first_given_name, family_name, dob, master_account, super_user, ident_type, ident_value, home_ou ) VALUES ( 1, 1, md5(random()::text), md5(random()::text), 'Administrator', 'System Account', '1979-01-22', TRUE, TRUE, 1, 'identification', 1 );
2569 -- Admin user barcode
2570 INSERT INTO actor.card (usr, barcode) VALUES (1,md5(random()::text));
2571 UPDATE actor.usr SET card = (SELECT currval('actor.card_id_seq')) WHERE id = 1;
2573 -- Admin user permissions
2574 INSERT INTO permission.usr_perm_map (usr,perm,depth) VALUES (1,-1,0);
2576 -- Set a work_ou for the Administrator user
2577 INSERT INTO permission.usr_work_ou_map (usr, work_ou) VALUES (1, 1);
2579 --010.schema.biblio.sql:
2580 INSERT INTO biblio.record_entry VALUES (-1,1,1,1,-1,NOW(),NOW(),FALSE,FALSE,'','AUTOGEN','-1','<record xmlns="http://www.loc.gov/MARC21/slim"/>','FOO');
2582 --040.schema.asset.sql:
2583 INSERT INTO asset.copy_location (id, name,owning_lib) VALUES (1, oils_i18n_gettext(1, 'Stacks', 'acpl', 'name'),1);
2584 SELECT SETVAL('asset.copy_location_id_seq'::TEXT, 100);
2586 INSERT INTO asset.call_number_suffix (id, owning_lib, label) VALUES (-1, 1, '');
2587 INSERT INTO asset.call_number_prefix (id, owning_lib, label) VALUES (-1, 1, '');
2588 INSERT INTO asset.call_number VALUES (-1,1,NOW(),1,NOW(),-1,1,'UNCATALOGED');
2590 --090.schema.action.sql
2591 INSERT INTO action.hold_request_cancel_cause (id,label) VALUES (1, oils_i18n_gettext(1, 'Untargeted expiration', 'ahrcc', 'label'));
2592 INSERT INTO action.hold_request_cancel_cause (id,label) VALUES (2, oils_i18n_gettext(2, 'Hold Shelf expiration', 'ahrcc', 'label'));
2593 INSERT INTO action.hold_request_cancel_cause (id,label) VALUES (3, oils_i18n_gettext(3, 'Patron via phone', 'ahrcc', 'label'));
2594 INSERT INTO action.hold_request_cancel_cause (id,label) VALUES (4, oils_i18n_gettext(4, 'Patron in person', 'ahrcc', 'label'));
2595 INSERT INTO action.hold_request_cancel_cause (id,label) VALUES (5, oils_i18n_gettext(5, 'Staff forced', 'ahrcc', 'label'));
2596 INSERT INTO action.hold_request_cancel_cause (id,label) VALUES (6, oils_i18n_gettext(6, 'Patron via OPAC', 'ahrcc', 'label'));
2597 INSERT INTO action.hold_request_cancel_cause (id,label) VALUES (7, oils_i18n_gettext(7, 'Patron via SIP', 'ahrcc', 'label'));
2598 SELECT SETVAL('action.hold_request_cancel_cause_id_seq', 100);
2602 INSERT INTO config.circ_matrix_matchpoint (org_unit,grp,circulate,duration_rule,recurring_fine_rule,max_fine_rule) VALUES (1,1,true,11,1,1);
2604 INSERT INTO config.circ_matrix_weights(name, org_unit, grp, circ_modifier, copy_location, marc_type, marc_form, marc_bib_level, marc_vr_format, copy_circ_lib, copy_owning_lib, user_home_ou, ref_flag, juvenile_flag, is_renewal, usr_age_upper_bound, usr_age_lower_bound, item_age) VALUES
2605 ('Default', 10.0, 11.0, 5.0, 5.0, 4.0, 3.0, 2.0, 2.0, 8.0, 8.0, 8.0, 1.0, 6.0, 7.0, 0.0, 0.0, 0.0),
2606 ('Org_Unit_First', 11.0, 10.0, 5.0, 5.0, 4.0, 3.0, 2.0, 2.0, 8.0, 8.0, 8.0, 1.0, 6.0, 7.0, 0.0, 0.0, 0.0),
2607 ('Item_Owner_First', 8.0, 8.0, 5.0, 5.0, 4.0, 3.0, 2.0, 2.0, 10.0, 11.0, 8.0, 1.0, 6.0, 7.0, 0.0, 0.0, 0.0),
2608 ('All_Equal', 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
2610 -- hold matrix - 110.hold_matrix.sql:
2611 INSERT INTO config.hold_matrix_matchpoint (requestor_grp) VALUES (1);
2613 INSERT INTO config.hold_matrix_weights(name, user_home_ou, request_ou, pickup_ou, item_owning_ou, item_circ_ou, usr_grp, requestor_grp, circ_modifier, marc_type, marc_form, marc_bib_level, marc_vr_format, juvenile_flag, ref_flag, item_age) VALUES
2614 ('Default', 5.0, 5.0, 5.0, 5.0, 5.0, 7.0, 8.0, 4.0, 3.0, 2.0, 1.0, 1.0, 4.0, 0.0, 0.0),
2615 ('Item_Owner_First', 5.0, 5.0, 5.0, 8.0, 7.0, 5.0, 5.0, 4.0, 3.0, 2.0, 1.0, 1.0, 4.0, 0.0, 0.0),
2616 ('User_Before_Requestor', 5.0, 5.0, 5.0, 5.0, 5.0, 8.0, 7.0, 4.0, 3.0, 2.0, 1.0, 1.0, 4.0, 0.0, 0.0),
2617 ('All_Equal', 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
2619 -- dynamic weight associations
2620 INSERT INTO config.weight_assoc(active, org_unit, circ_weights, hold_weights) VALUES
2623 -- User setting types
2624 INSERT INTO config.usr_setting_type (name,opac_visible,label,description,datatype)
2625 VALUES ('opac.default_font', TRUE,
2626 oils_i18n_gettext('opac.default_font', 'OPAC Font Size', 'cust', 'label'),
2627 oils_i18n_gettext('opac.default_font', 'OPAC Font Size', 'cust', 'description'),
2630 INSERT INTO config.usr_setting_type (name,opac_visible,label,description,datatype)
2631 VALUES ('opac.default_search_depth', TRUE,
2632 oils_i18n_gettext('opac.default_search_depth', 'OPAC Search Depth', 'cust', 'label'),
2633 oils_i18n_gettext('opac.default_search_depth', 'OPAC Search Depth', 'cust', 'description'),
2636 INSERT INTO config.usr_setting_type (name,opac_visible,label,description,datatype)
2637 VALUES ('opac.default_search_location', TRUE,
2638 oils_i18n_gettext('opac.default_search_location', 'OPAC Search Location', 'cust', 'label'),
2639 oils_i18n_gettext('opac.default_search_location', 'OPAC Search Location', 'cust', 'description'),
2642 INSERT INTO config.usr_setting_type (name,opac_visible,label,description,datatype)
2643 VALUES ('opac.hits_per_page', TRUE,
2644 oils_i18n_gettext('opac.hits_per_page', 'Hits per Page', 'cust', 'label'),
2645 oils_i18n_gettext('opac.hits_per_page', 'Hits per Page', 'cust', 'description'),
2648 INSERT INTO config.usr_setting_type (name,opac_visible,label,description,datatype)
2649 VALUES ('opac.hold_notify', TRUE,
2650 oils_i18n_gettext('opac.hold_notify', 'Hold Notification Format', 'cust', 'label'),
2651 oils_i18n_gettext('opac.hold_notify', 'Hold Notification Format', 'cust', 'description'),
2654 INSERT INTO config.usr_setting_type (name,opac_visible,label,description,datatype)
2655 VALUES ('staff_client.catalog.record_view.default', TRUE,
2656 oils_i18n_gettext('staff_client.catalog.record_view.default', 'Default Record View', 'cust', 'label'),
2657 oils_i18n_gettext('staff_client.catalog.record_view.default', 'Default Record View', 'cust', 'description'),
2660 INSERT INTO config.usr_setting_type (name,opac_visible,label,description,datatype)
2661 VALUES ('staff_client.copy_editor.templates', TRUE,
2662 oils_i18n_gettext('staff_client.copy_editor.templates', 'Copy Editor Template', 'cust', 'label'),
2663 oils_i18n_gettext('staff_client.copy_editor.templates', 'Copy Editor Template', 'cust', 'description'),
2666 INSERT INTO config.usr_setting_type (name, label, description, datatype)
2667 VALUES ('webstaff.cat.copy.templates',
2668 oils_i18n_gettext('webstaff.cat.copy.templates', 'Web Client Copy Editor Templates', 'cust', 'label'),
2669 oils_i18n_gettext('webstaff.cat.copy.templates', 'Web Client Copy Editor Templates', 'cust', 'description'),
2672 INSERT INTO config.usr_setting_type (name,opac_visible,label,description,datatype)
2673 VALUES ('circ.holds_behind_desk', FALSE,
2674 oils_i18n_gettext('circ.holds_behind_desk', 'Hold is behind Circ Desk', 'cust', 'label'),
2675 oils_i18n_gettext('circ.holds_behind_desk', 'Hold is behind Circ Desk', 'cust', 'description'),
2678 INSERT INTO config.usr_setting_type (name,opac_visible,label,description,datatype)
2679 VALUES ('opac.default_pickup_location', TRUE,
2680 oils_i18n_gettext('opac.default_pickup_location', 'Default Hold Pickup Location', 'cust', 'label'),
2681 oils_i18n_gettext('opac.default_pickup_location', 'Default location for holds pickup', 'cust', 'description'),
2684 INSERT INTO config.usr_setting_type (name,opac_visible,label,description,datatype)
2686 'opac.lists_per_page',
2689 'opac.lists_per_page',
2695 'opac.lists_per_page',
2696 'A number designating the amount of lists displayed per page.',
2703 INSERT INTO config.usr_setting_type (name,opac_visible,label,description,datatype)
2705 'opac.list_items_per_page',
2708 'opac.list_items_per_page',
2709 'List Items per Page',
2714 'opac.list_items_per_page',
2715 'A number designating the amount of list items displayed per page of a selected list.',
2722 -- Add groups for org_unit settings
2723 INSERT INTO config.settings_group (name, label) VALUES
2724 ('acq', oils_i18n_gettext('acq', 'Acquisitions', 'csg', 'label')),
2725 ('sys', oils_i18n_gettext('sys', 'System', 'csg', 'label')),
2726 ('gui', oils_i18n_gettext('gui', 'GUI', 'csg', 'label')),
2727 ('lib', oils_i18n_gettext('lib', 'Library', 'csg', 'label')),
2728 ('sec', oils_i18n_gettext('sec', 'Security', 'csg', 'label')),
2729 ('cat', oils_i18n_gettext('cat', 'Cataloging', 'csg', 'label')),
2730 ('holds', oils_i18n_gettext('holds', 'Holds', 'csg', 'label')),
2731 ('circ', oils_i18n_gettext('circ', 'Circulation', 'csg', 'label')),
2732 ('self', oils_i18n_gettext('self', 'Self Check', 'csg', 'label')),
2733 ('opac', oils_i18n_gettext('opac', 'OPAC', 'csg', 'label')),
2734 ('prog', oils_i18n_gettext('prog', 'Program', 'csg', 'label')),
2735 ('glob', oils_i18n_gettext('glob', 'Global', 'csg', 'label')),
2736 ('finance', oils_i18n_gettext('finance', 'Finances', 'csg', 'label')),
2737 ('credit', oils_i18n_gettext('credit', 'Credit Card Processing', 'csg', 'label')),
2738 ('serial', oils_i18n_gettext('serial', 'Serials', 'csg', 'label')),
2739 ('recall', oils_i18n_gettext('recall', 'Recalls', 'csg', 'label')),
2740 ('booking', oils_i18n_gettext('booking', 'Booking', 'csg', 'label')),
2741 ('offline', oils_i18n_gettext('offline', 'Offline', 'csg', 'label')),
2742 ('receipt_template', oils_i18n_gettext('receipt_template', 'Receipt Template', 'csg', 'label')),
2743 ('sms', oils_i18n_gettext('sms','SMS Text Messages','csg','label')),
2744 ('vandelay', oils_i18n_gettext('vandelay','Vandelay','csg','label'))
2748 INSERT INTO acq.user_request_type (id,label) VALUES (1, oils_i18n_gettext('1', 'Books', 'aurt', 'label'));
2749 INSERT INTO acq.user_request_type (id,label) VALUES (2, oils_i18n_gettext('2', 'Journal/Magazine & Newspaper Articles', 'aurt', 'label'));
2750 INSERT INTO acq.user_request_type (id,label) VALUES (3, oils_i18n_gettext('3', 'Audiobooks', 'aurt', 'label'));
2751 INSERT INTO acq.user_request_type (id,label) VALUES (4, oils_i18n_gettext('4', 'Music', 'aurt', 'label'));
2752 INSERT INTO acq.user_request_type (id,label) VALUES (5, oils_i18n_gettext('5', 'DVDs', 'aurt', 'label'));
2754 SELECT SETVAL('acq.user_request_type_id_seq'::TEXT, 6);
2757 -- org_unit setting types
2758 INSERT into config.org_unit_setting_type
2759 ( name, grp, label, description, datatype, fm_class ) VALUES
2761 ( 'acq.copy_creator_uses_receiver', 'acq',
2762 oils_i18n_gettext('acq.copy_creator_uses_receiver',
2763 'Set copy creator as receiver',
2765 oils_i18n_gettext('acq.copy_creator_uses_receiver',
2766 'When receiving a copy in acquisitions, set the copy "creator" to be the staff that received the copy',
2767 'coust', 'description'),
2769 ,( 'acq.copy_status_on_receiving', 'acq',
2770 oils_i18n_gettext('acq.copy_status_on_receiving',
2771 'Initial status for received items',
2773 oils_i18n_gettext('acq.copy_status_on_receiving',
2774 'Allows staff to designate a custom copy status on received lineitems. Default status is "In Process".',
2775 'coust', 'description'),
2777 ,( 'acq.default_circ_modifier', 'acq',
2778 oils_i18n_gettext('acq.default_circ_modifier',
2779 'Default circulation modifier',
2781 oils_i18n_gettext('acq.default_circ_modifier',
2782 'Default circulation modifier',
2783 'coust', 'description'),
2786 ,( 'acq.default_copy_location', 'acq',
2787 oils_i18n_gettext('acq.default_copy_location',
2788 'Default copy location',
2790 oils_i18n_gettext('acq.default_copy_location',
2791 'Default copy location',
2792 'coust', 'description'),
2795 ,( 'acq.fund.balance_limit.block', 'acq',
2796 oils_i18n_gettext('acq.fund.balance_limit.block',
2797 'Fund Spending Limit for Block',
2799 oils_i18n_gettext('acq.fund.balance_limit.block',
2800 'When the amount remaining in the fund, including spent money and encumbrances, goes below this percentage, attempts to spend from the fund will be blocked.',
2801 'coust', 'description'),
2804 ,( 'acq.fund.balance_limit.warn', 'acq',
2805 oils_i18n_gettext('acq.fund.balance_limit.warn',
2806 'Fund Spending Limit for Warning',