Add missing ADMIN_ORG_UNIT_CUSTOM_TREE permission collab/berick/custom-org-tree-perms
authorBill Erickson <berick@esilibrary.com>
Thu, 12 Apr 2012 19:34:02 +0000 (15:34 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 12 Apr 2012 19:34:02 +0000 (15:34 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.data.custom-org-tree-perms.sql [new file with mode: 0644]

index d53ae14..e71a359 100644 (file)
@@ -1543,7 +1543,9 @@ INSERT INTO permission.perm_list ( id, code, description ) VALUES
  ( 526, 'UPDATE_PATRON_STAT_CAT_ENTRY_DEFAULT', oils_i18n_gettext( 526, 
     'User may reset a default entry in a patron statistical category', 'ppl', 'description' )),
  ( 527, 'DELETE_PATRON_STAT_CAT_ENTRY_DEFAULT', oils_i18n_gettext( 527, 
-    'User may unset a default entry in a patron statistical category', 'ppl', 'description' ));
+    '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' ));
 
 SELECT SETVAL('permission.perm_list_id_seq'::TEXT, 1000);
 
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.custom-org-tree-perms.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.custom-org-tree-perms.sql
new file mode 100644 (file)
index 0000000..f463448
--- /dev/null
@@ -0,0 +1,14 @@
+
+-- beware ID drift...
+INSERT INTO permission.perm_list (id, code, description) 
+    VALUES ( 
+        528, 
+        'ADMIN_ORG_UNIT_CUSTOM_TREE', 
+        oils_i18n_gettext( 
+            528, 
+            'User may update custom org unit trees', 
+            'ppl', 
+            'description' 
+        )
+    );
+