( 538, 'VIEW_SEARCH_FILTER_GROUP', oils_i18n_gettext( 538,
'Allows staff to view search filter groups and entries', 'ppl', 'description' )),
( 539, 'URL_VERIFY', oils_i18n_gettext( 539,
- 'Allows a user to process and verify ULSs', 'ppl', 'description'))
+ 'Allows a user to process and verify ULSs', 'ppl', 'description')),
+ ( 540, 'URL_VERIFY_UPDATE_SETTINGS', oils_i18n_gettext( 540,
+ 'Allows a user to configure URL verification org unit settings', 'ppl', 'description')
;
'bool'
);
-
INSERT INTO config.settings_group (name, label)
VALUES (
'url_verify',
)
);
-INSERT into config.org_unit_setting_type
- (name, grp, label, description, datatype)
+INSERT INTO config.org_unit_setting_type
+ (name, grp, label, description, datatype, update_perm)
VALUES (
'url_verify.url_verification_delay',
'url_verify',
'coust',
'description'
),
- 'integer'
+ 'integer',
+ 540
);
-INSERT into config.org_unit_setting_type
- (name, grp, label, description, datatype)
+INSERT INTO config.org_unit_setting_type
+ (name, grp, label, description, datatype, update_perm)
VALUES (
'url_verify.url_verification_max_redirects',
'url_verify',
'coust',
'description'
),
- 'integer'
+ 'integer',
+ 540
);
-INSERT into config.org_unit_setting_type
- (name, grp, label, description, datatype)
+INSERT INTO config.org_unit_setting_type
+ (name, grp, label, description, datatype, update_perm)
VALUES (
'url_verify.url_verification_max_wait',
'url_verify',
'coust',
'description'
),
- 'integer'
+ 'integer',
+ 540
);
-INSERT into config.org_unit_setting_type
- (name, grp, label, description, datatype)
+
+INSERT INTO config.org_unit_setting_type
+ (name, grp, label, description, datatype, update_perm)
VALUES (
'url_verify.verification_batch_size',
'url_verify',
'coust',
'description'
),
- 'integer'
+ 'integer',
+ 540
);
+
+-- NOTE: beware the use of bare perm IDs in the update_perm's below and in
+-- the 950 seed data file. Update before merge to match current perm IDs! XXX
+
BEGIN;
INSERT INTO permission.perm_list (id, code, description)
)
);
+
+INSERT INTO permission.perm_list (id, code, description)
+ VALUES (
+ 540,
+ 540,
+ oils_i18n_gettext(
+ 540,
+ 'Allows a user to configure URL verification org unit settings',
+ 'ppl',
+ 'description'
+ )
+ );
+
+
INSERT INTO config.settings_group (name, label)
VALUES (
'url_verify',
)
);
-INSERT into config.org_unit_setting_type
- (name, grp, label, description, datatype)
+INSERT INTO config.org_unit_setting_type
+ (name, grp, label, description, datatype, update_perm)
VALUES (
'url_verify.url_verification_delay',
'url_verify',
'coust',
'description'
),
- 'integer'
+ 'integer',
+ 540
);
-INSERT into config.org_unit_setting_type
- (name, grp, label, description, datatype)
+INSERT INTO config.org_unit_setting_type
+ (name, grp, label, description, datatype, update_perm)
VALUES (
'url_verify.url_verification_max_redirects',
'url_verify',
'coust',
'description'
),
- 'integer'
+ 'integer',
+ 540
);
-INSERT into config.org_unit_setting_type
- (name, grp, label, description, datatype)
+INSERT INTO config.org_unit_setting_type
+ (name, grp, label, description, datatype, update_perm)
VALUES (
'url_verify.url_verification_max_wait',
'url_verify',
'coust',
'description'
),
- 'integer'
+ 'integer',
+ 540
);
-INSERT into config.org_unit_setting_type
- (name, grp, label, description, datatype)
+INSERT INTO config.org_unit_setting_type
+ (name, grp, label, description, datatype, update_perm)
VALUES (
'url_verify.verification_batch_size',
'url_verify',
'coust',
'description'
),
- 'integer'
+ 'integer',
+ 540
);
-
COMMIT;