From: Chris Sharp Date: Mon, 20 May 2019 19:44:08 +0000 (-0400) Subject: LP#1811442 - Assign copy alert permissions. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7162dac1873020d95441f896904803e29e2f27c5;p=evergreen%2Fmasslnc.git 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 Signed-off-by: Kyle Huckins Signed-off-by: Galen Charlton --- 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.