]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/XXXX.data.copy_alert_perms.sql
Stamping upgrade script
[working/Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / XXXX.data.copy_alert_perms.sql
1 BEGIN;
2
3 SELECT evergreen.upgrade_deps_block_check('1111', :eg_version);
4
5 INSERT INTO permission.perm_list ( id, code, description ) VALUES
6  ( 594, 'ADMIN_COPY_ALERT_TYPE', oils_i18n_gettext( 594,
7     'Administer copy alert types', 'ppl', 'description' )),
8  ( 595, 'CREATE_COPY_ALERT_TYPE', oils_i18n_gettext( 595,
9     'Create copy alert types', 'ppl', 'description' )),
10  ( 596, 'UPDATE_COPY_ALERT_TYPE', oils_i18n_gettext( 596,
11     'Update copy alert types', 'ppl', 'description' )),
12  ( 597, 'DELETE_COPY_ALERT_TYPE', oils_i18n_gettext( 597,
13     'Delete copy alert types', 'ppl', 'description' )),
14  ( 598, 'ADMIN_COPY_ALERT_SUPPRESS', oils_i18n_gettext( 598,
15     'Administer copy alert suppression', 'ppl', 'description' )),
16  ( 599, 'CREATE_COPY_ALERT_SUPPRESS', oils_i18n_gettext( 599,
17     'Create copy alert suppression', 'ppl', 'description' )),
18  ( 600, 'UPDATE_COPY_ALERT_SUPPRESS', oils_i18n_gettext( 600,
19     'Update copy alert suppression', 'ppl', 'description' )),
20  ( 601, 'DELETE_COPY_ALERT_SUPPRESS', oils_i18n_gettext( 601,
21     'Delete copy alert suppression', 'ppl', 'description' )),
22  ( 602, 'ADMIN_COPY_ALERT', oils_i18n_gettext( 602,
23     'Administer copy alerts', 'ppl', 'description' )),
24  ( 603, 'CREATE_COPY_ALERT', oils_i18n_gettext( 603,
25     'Create copy alerts', 'ppl', 'description' )),
26  ( 604, 'VIEW_COPY_ALERT', oils_i18n_gettext( 604,
27     'View copy alerts', 'ppl', 'description' )),
28  ( 605, 'UPDATE_COPY_ALERT', oils_i18n_gettext( 605,
29     'Update copy alerts', 'ppl', 'description' )),
30  ( 606, 'DELETE_COPY_ALERT', oils_i18n_gettext( 606,
31     'Delete copy alerts', 'ppl', 'description' ))
32 ;
33
34 COMMIT;
35