]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/0709.data.misc_missing_perms.sql
LP1889113 Staff catalog record holds sticky org select
[Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / 0709.data.misc_missing_perms.sql
1 -- Evergreen DB patch 0709.data.misc_missing_perms.sql
2 --
3 -- Fixes a typo in the name of a global flag
4
5 BEGIN;
6
7 SELECT evergreen.upgrade_deps_block_check('0709', :eg_version);
8
9 INSERT INTO permission.perm_list ( id, code, description ) 
10     VALUES ( 
11         531, 
12         'ADMIN_ADDRESS_ALERT',
13         oils_i18n_gettext( 
14             531,
15             'Allows a user to create/retrieve/update/delete address alerts',
16             'ppl', 
17             'description' 
18         )
19     ), ( 
20         532, 
21         'VIEW_ADDRESS_ALERT',
22         oils_i18n_gettext( 
23             532,
24             'Allows a user to view address alerts',
25             'ppl', 
26             'description' 
27         )
28     ), ( 
29         533, 
30         'ADMIN_COPY_LOCATION_GROUP',
31         oils_i18n_gettext( 
32             533,
33             'Allows a user to create/retrieve/update/delete copy location groups',
34             'ppl', 
35             'description' 
36         )
37     ), ( 
38         534, 
39         'ADMIN_USER_ACTIVITY_TYPE',
40         oils_i18n_gettext( 
41             534,
42             'Allows a user to create/retrieve/update/delete user activity types',
43             'ppl', 
44             'description' 
45         )
46     );
47
48 COMMIT;