[open-ils-commits] [GIT] Evergreen ILS branch rel_2_2 updated. 6988310be3ee6f2f74dff63a90855cfe01ad96aa
Evergreen Git
git at git.evergreen-ils.org
Sat Apr 28 15:06:08 EDT 2012
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, rel_2_2 has been updated
via 6988310be3ee6f2f74dff63a90855cfe01ad96aa (commit)
from 111b65b05119afff2bc286ee3ba9f1f2ffb9a8ea (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 6988310be3ee6f2f74dff63a90855cfe01ad96aa
Author: Bill Erickson <berick at esilibrary.com>
Date: Thu Apr 12 15:34:02 2012 -0400
Add missing ADMIN_ORG_UNIT_CUSTOM_TREE permission
Signed-off-by: Bill Erickson <berick at esilibrary.com>
Signed-off-by: Michael Peters <mrpeters at library.in.gov>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>
diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql
index 86311e1..1760787 100644
--- a/Open-ILS/src/sql/Pg/002.schema.config.sql
+++ b/Open-ILS/src/sql/Pg/002.schema.config.sql
@@ -87,7 +87,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 ('0704', :eg_version); -- dbs
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0705', :eg_version); -- dbs
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
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 d53ae14..e71a359 100644
--- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql
+++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql
@@ -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/0705.data.custom-org-tree-perms.sql b/Open-ILS/src/sql/Pg/upgrade/0705.data.custom-org-tree-perms.sql
new file mode 100644
index 0000000..3d0e0b9
--- /dev/null
+++ b/Open-ILS/src/sql/Pg/upgrade/0705.data.custom-org-tree-perms.sql
@@ -0,0 +1,20 @@
+-- Evergreen DB patch 0705.data.custom-org-tree-perms.sql
+--
+BEGIN;
+
+-- check whether patch can be applied
+SELECT evergreen.upgrade_deps_block_check('0705', :eg_version);
+
+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'
+ )
+ );
+
+COMMIT;
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +-
Open-ILS/src/sql/Pg/950.data.seed-values.sql | 4 +++-
.../Pg/upgrade/0705.data.custom-org-tree-perms.sql | 20 ++++++++++++++++++++
3 files changed, 24 insertions(+), 2 deletions(-)
create mode 100644 Open-ILS/src/sql/Pg/upgrade/0705.data.custom-org-tree-perms.sql
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list