[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch master updated. ade704b8a9bb64132fea036bc80a8a0ea920ee55

Evergreen Git git at git.evergreen-ils.org
Wed Mar 19 10:22:25 EDT 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  ade704b8a9bb64132fea036bc80a8a0ea920ee55 (commit)
       via  a58a18d77fae346988ae46992622356a45d3d93b (commit)
      from  6f098024da7d79fd950c096a3f8eeecb6226d3fd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ade704b8a9bb64132fea036bc80a8a0ea920ee55
Author: Ben Shum <bshum at biblio.org>
Date:   Wed Mar 19 10:13:06 2014 -0400

    LP#1230557 Stamping upgrade script for perm_list_group_admin
    
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql
index be95f68..f1bde2b 100644
--- a/Open-ILS/src/sql/Pg/002.schema.config.sql
+++ b/Open-ILS/src/sql/Pg/002.schema.config.sql
@@ -91,7 +91,7 @@ CREATE TRIGGER no_overlapping_deps
     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 ('0875', :eg_version); -- miker/dbwells/bshum
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0876', :eg_version); -- mcooper/bshum
 
 CREATE TABLE config.bib_source (
 	id		SERIAL	PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.perm_list_group_system_admin.sql b/Open-ILS/src/sql/Pg/upgrade/0876.data.perm_list_group_system_admin.sql
similarity index 92%
rename from Open-ILS/src/sql/Pg/upgrade/XXXX.data.perm_list_group_system_admin.sql
rename to Open-ILS/src/sql/Pg/upgrade/0876.data.perm_list_group_system_admin.sql
index 7d92cb1..d3e2f72 100644
--- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.perm_list_group_system_admin.sql
+++ b/Open-ILS/src/sql/Pg/upgrade/0876.data.perm_list_group_system_admin.sql
@@ -1,6 +1,6 @@
 BEGIN;
 
--- SELECT evergreen.upgrade_deps_block_check('', :eg_version);
+SELECT evergreen.upgrade_deps_block_check('0876', :eg_version);
 
 INSERT INTO permission.perm_list ( code, description ) VALUES
  ( 'group_application.user.staff.admin.system_admin', oils_i18n_gettext( '',
@@ -15,4 +15,4 @@ INSERT INTO permission.perm_list ( code, description ) VALUES
     'Allow a user to add/remove users to/from the "Volunteers" group', 'ppl', 'description' ))
 ;
 
-COMMIT;
\ No newline at end of file
+COMMIT;

commit a58a18d77fae346988ae46992622356a45d3d93b
Author: Mark Cooper <markchristophercooper at gmail.com>
Date:   Wed Sep 25 10:06:48 2013 -0700

    LP#1230557 Adding more groups to perm_list
    
    By default some of the perm groups do not have their
    application_perm in the perm_list. This adds them.
    
    Signed-off-by: Mark Cooper <markchristophercooper at gmail.com>
    Signed-off-by: Ben Shum <bshum at biblio.org>
    
    Conflicts:
    	Open-ILS/src/sql/Pg/950.data.seed-values.sql

diff --git a/Open-ILS/src/sql/Pg/950.data.seed-values.sql b/Open-ILS/src/sql/Pg/950.data.seed-values.sql
index 9e0e3b1..e50d0bd 100644
--- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql
+++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql
@@ -1595,7 +1595,17 @@ INSERT INTO permission.perm_list ( id, code, description ) VALUES
  ( 553, 'UPDATE_ORG_UNIT_SETTING.circ.min_item_price', oils_i18n_gettext( 553,
     'UPDATE_ORG_UNIT_SETTING.circ.min_item_price', 'ppl', 'description' )),
  ( 554, 'UPDATE_ORG_UNIT_SETTING.circ.max_item_price', oils_i18n_gettext( 554,
-    'UPDATE_ORG_UNIT_SETTING.circ.max_item_price', 'ppl', 'description' ))
+    'UPDATE_ORG_UNIT_SETTING.circ.max_item_price', 'ppl', 'description' )),
+ ( 555, 'group_application.user.staff.admin.system_admin', oils_i18n_gettext( 555, 
+    'Allow a user to add/remove users to/from the "System Administrator" group', 'ppl', 'description' )),
+ ( 556, 'group_application.user.staff.cat_admin', oils_i18n_gettext( 556, 
+    'Allow a user to add/remove users to/from the "Cataloging Administrator" group', 'ppl', 'description' )),
+ ( 557, 'group_application.user.staff.circ_admin', oils_i18n_gettext( 557, 
+    'Allow a user to add/remove users to/from the "Circulation Administrator" group', 'ppl', 'description' )),
+ ( 558, 'group_application.user.staff.data_review', oils_i18n_gettext( 558, 
+    'Allow a user to add/remove users to/from the "Data Review" group', 'ppl', 'description' )),
+ ( 559, 'group_application.user.staff.volunteers', oils_i18n_gettext( 559, 
+    'Allow a user to add/remove users to/from the "Volunteers" group', 'ppl', 'description' ))
 ;
 
 SELECT SETVAL('permission.perm_list_id_seq'::TEXT, 1000);
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.perm_list_group_system_admin.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.perm_list_group_system_admin.sql
new file mode 100644
index 0000000..7d92cb1
--- /dev/null
+++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.perm_list_group_system_admin.sql
@@ -0,0 +1,18 @@
+BEGIN;
+
+-- SELECT evergreen.upgrade_deps_block_check('', :eg_version);
+
+INSERT INTO permission.perm_list ( code, description ) VALUES
+ ( 'group_application.user.staff.admin.system_admin', oils_i18n_gettext( '',
+    'Allow a user to add/remove users to/from the "System Administrator" group', 'ppl', 'description' )),
+ ( 'group_application.user.staff.cat_admin', oils_i18n_gettext( '', 
+    'Allow a user to add/remove users to/from the "Cataloging Administrator" group', 'ppl', 'description' )),
+ ( 'group_application.user.staff.circ_admin', oils_i18n_gettext( '', 
+    'Allow a user to add/remove users to/from the "Circulation Administrator" group', 'ppl', 'description' )),
+ ( 'group_application.user.staff.data_review', oils_i18n_gettext( '', 
+    'Allow a user to add/remove users to/from the "Data Review" group', 'ppl', 'description' )),
+ ( 'group_application.user.staff.volunteers', oils_i18n_gettext( '', 
+    'Allow a user to add/remove users to/from the "Volunteers" group', 'ppl', 'description' ))
+;
+
+COMMIT;
\ No newline at end of file

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/src/sql/Pg/002.schema.config.sql          |    2 +-
 Open-ILS/src/sql/Pg/950.data.seed-values.sql       |   12 +++++++++++-
 .../0876.data.perm_list_group_system_admin.sql     |   18 ++++++++++++++++++
 3 files changed, 30 insertions(+), 2 deletions(-)
 create mode 100644 Open-ILS/src/sql/Pg/upgrade/0876.data.perm_list_group_system_admin.sql


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list