[open-ils-commits] [GIT] Evergreen ILS branch master updated. 7162dac1873020d95441f896904803e29e2f27c5

Evergreen Git git at git.evergreen-ils.org
Tue Oct 1 16:40:46 EDT 2019


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  7162dac1873020d95441f896904803e29e2f27c5 (commit)
      from  2c49627bb0cf49423fa9c9be4822282674df2039 (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 7162dac1873020d95441f896904803e29e2f27c5
Author: Chris Sharp <csharp at georgialibraries.org>
Date:   Mon May 20 15:44:08 2019 -0400

    LP#1811442 - Assign copy alert permissions.
    
    VIEW_COPY_ALERTS and ADMIN_COPY_ALERT permissions were added
    recently, but not assigned in the default seed data.  This branch
    assigns VIEW_COPY_ALERTS to Staff profiles at the Consortium depth
    and adds ADMIN_COPY_ALERT to the Cataloging Administrator profile.
    
    Since permissions are set so specifically per-site, this branch does
    not contain an upgrade script, but does provide an update to release
    notes reminding site admins to manually add them to the appropriate
    profiles.
    
    Signed-off-by: Chris Sharp <csharp at georgialibraries.org>
    Signed-off-by: Kyle Huckins <khuckins at catalyte.io>
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>

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 daf37c36d3..e0567d2236 100644
--- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql
+++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql
@@ -2090,6 +2090,7 @@ INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
 			'TRANSIT_COPY',
 			'UPDATE_CONTAINER',
 			'VIEW_CONTAINER',
+			'VIEW_COPY_ALERT',
 			'VIEW_COPY_CHECKOUT_HISTORY',
 			'VIEW_COPY_NOTES',
 			'VIEW_HOLD',
@@ -2299,6 +2300,7 @@ INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
 		pgt.name = 'Cataloging Administrator' AND
 		aout.name = 'System' AND
 		perm.code IN (
+			'ADMIN_COPY_ALERT',
 			'CREATE_COPY_STAT_CAT',
 			'CREATE_COPY_STAT_CAT_ENTRY',
 			'CREATE_COPY_STAT_CAT_ENTRY_MAP',
diff --git a/docs/RELEASE_NOTES_NEXT/Administration/copy-alert-perms-assigned-in-seed-data.adoc b/docs/RELEASE_NOTES_NEXT/Administration/copy-alert-perms-assigned-in-seed-data.adoc
new file mode 100644
index 0000000000..13395bf206
--- /dev/null
+++ b/docs/RELEASE_NOTES_NEXT/Administration/copy-alert-perms-assigned-in-seed-data.adoc
@@ -0,0 +1,15 @@
+Copy Alert Permissions Added to Seed Data
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Copy alerts were improved in recent releases of Evergreen,
+but the permissions were not assigned to any of the stock
+permission profiles in the "seed data" supplied to first time
+installations.  
+
+The VIEW_COPY_ALERT permission is now assigned to all profiles
+under the "Staff" parent profile, and ADMIN_COPY_ALERT is now
+assigned to Cataloging Administrator and should be available to
+all Administrator profiles.
+
+This change does NOT include an upgrade script, so site server
+administrators are responsible for updating the permissions
+profiles for their individual systems.

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

Summary of changes:
 Open-ILS/src/sql/Pg/950.data.seed-values.sql              |  2 ++
 .../copy-alert-perms-assigned-in-seed-data.adoc           | 15 +++++++++++++++
 2 files changed, 17 insertions(+)
 create mode 100644 docs/RELEASE_NOTES_NEXT/Administration/copy-alert-perms-assigned-in-seed-data.adoc


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list