<permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
<actions>
<create permission="ADMIN_IMPORT_MATCH_SET" context_field="owner"/>
- <retrieve permission="ADMIN_IMPORT_MATCH_SET" context_field="owner"/>
+ <retrieve permission="ADMIN_IMPORT_MATCH_SET VIEW_IMPORT_MATCH_SET" context_field="owner"/>
<update permission="ADMIN_IMPORT_MATCH_SET" context_field="owner"/>
<delete permission="ADMIN_IMPORT_MATCH_SET" context_field="owner"/>
</actions>
<create permission="ADMIN_IMPORT_MATCH_SET">
<context link="match_set" field="owner"/>
</create>
- <retrieve permission="ADMIN_IMPORT_MATCH_SET">
+ <retrieve permission="ADMIN_IMPORT_MATCH_SET VIEW_IMPORT_MATCH_SET">
<context link="match_set" field="owner"/>
</retrieve>
<update permission="ADMIN_IMPORT_MATCH_SET">
BEFORE INSERT OR UPDATE ON config.db_patch_dependencies
FOR EACH ROW EXECUTE PROCEDURE evergreen.array_overlap_check ('deprecates');
-INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0706', :eg_version); -- dbwells/senator
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0707', :eg_version); -- berick/dyrcona/senator
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
( 527, 'DELETE_PATRON_STAT_CAT_ENTRY_DEFAULT', oils_i18n_gettext( 527,
'User may unset a default entry in a patron statistical category', 'ppl', 'description' )),
( 528, 'ADMIN_ORG_UNIT_CUSTOM_TREE', oils_i18n_gettext( 528,
- 'User may update custom org unit trees', 'ppl', 'description' ));
+ 'User may update custom org unit trees', 'ppl', 'description' )),
+ ( 529, 'ADMIN_IMPORT_MATCH_SET', oils_i18n_gettext( 529,
+ 'Allows a user to create/retrieve/update/delete vandelay match sets', 'ppl', 'description' )),
+ ( 530, 'VIEW_IMPORT_MATCH_SET', oils_i18n_gettext( 530,
+ 'Allows a user to view vandelay match sets', 'ppl', 'description' ));
SELECT SETVAL('permission.perm_list_id_seq'::TEXT, 1000);
--- /dev/null
+-- Evergreen DB patch 0707.schema.acq-vandelay-integration.sql
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('0707', :eg_version);
+
+-- seed data --
+
+INSERT INTO permission.perm_list ( id, code, description )
+ VALUES (
+ 529,
+ 'ADMIN_IMPORT_MATCH_SET',
+ oils_i18n_gettext(
+ 529,
+ 'Allows a user to create/retrieve/update/delete vandelay match sets',
+ 'ppl',
+ 'description'
+ )
+ ), (
+ 530,
+ 'VIEW_IMPORT_MATCH_SET',
+ oils_i18n_gettext(
+ 530,
+ 'Allows a user to view vandelay match sets',
+ 'ppl',
+ 'description'
+ )
+ );
+
+COMMIT;