]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/XXXX.temp.sql
3e64e0be20d13f29026f6ad1e15dfb1f90efbdee
[Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / XXXX.temp.sql
1 INSERT INTO config.org_unit_setting_type (name, grp, label, description, datatype) VALUES
2 ( 'opac.username_regex', 'glob',
3     oils_i18n_gettext('opac.username_regex',
4         'Patron username format',
5         'coust', 'label'),
6     oils_i18n_gettext('opac.username_regex',
7         'Regular expression defining the patron username format, used for patron registration and self-service username changing only',
8         'coust', 'description'),
9     'string')
10 ,( 'opac.lock_usernames', 'glob',
11     oils_i18n_gettext('opac.lock_usernames',
12         'Lock Usernames',
13         'coust', 'label'),
14     oils_i18n_gettext('opac.lock_usernames',
15         'If enabled username changing via the OPAC will be disabled',
16         'coust', 'description'),
17     'bool')
18 ,( 'opac.unlimit_usernames', 'glob',
19     oils_i18n_gettext('opac.unlimit_usernames',
20         'Allow multiple username changes',
21         'coust', 'label'),
22     oils_i18n_gettext('opac.unlimit_usernames',
23         'If enabled (and Lock Usernames is not set) patrons will be allowed to change their username when it does not look like a barcode. Otherwise username changing in the OPAC will only be allowed when the patron''s username looks like a barcode.',
24         'coust', 'description'),
25     'bool')
26 ;