<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">
( 521, 'IMPORT_ACQ_LINEITEM_BIB_RECORD_UPLOAD', oils_i18n_gettext( 521,
'Allows a user to create new bibs directly from an ACQ MARC file upload', 'ppl', 'description' )),
( 522, 'IMPORT_AUTHORITY_MARC', oils_i18n_gettext( 522,
- 'Allows a user to create new authority records', 'ppl', 'description' ));
+ 'Allows a user to create new authority records', 'ppl', 'description' )),
+ ( 523, 'ADMIN_IMPORT_MATCH_SET', oils_i18n_gettext( 523,
+ 'Allows a user to create/retrieve/update/delete vandelay match sets', 'ppl', 'description' )),
+ ( 524, 'VIEW_IMPORT_MATCH_SET', oils_i18n_gettext( 524,
+ 'Allows a user to view vandelay match sets', 'ppl', 'description' ));
SELECT SETVAL('permission.perm_list_id_seq'::TEXT, 1000);
--- /dev/null
+-- Evergreen DB patch 0684.schema.acq-vandelay-integration.sql
+BEGIN;
+
+-- seed data --
+
+INSERT INTO permission.perm_list ( id, code, description )
+ VALUES (
+ 523,
+ 'ADMIN_IMPORT_MATCH_SET',
+ oils_i18n_gettext(
+ 523,
+ 'Allows a user to create/retrieve/update/delete vandelay match sets',
+ 'ppl',
+ 'description'
+ )
+ ), (
+ 524,
+ 'VIEW_IMPORT_MATCH_SET',
+ oils_i18n_gettext(
+ 524,
+ 'Allows a user to view vandelay match sets',
+ 'ppl',
+ 'description'
+ )
+ );
+
+COMMIT;