[open-ils-commits] [GIT] Evergreen ILS branch master updated. 9add41a950725d46c9eef21e808ac92375fcfc01
Evergreen Git
git at git.evergreen-ils.org
Mon Jan 28 15:16:20 EST 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 9add41a950725d46c9eef21e808ac92375fcfc01 (commit)
from 32d52c674e6663e319b4f22a4ba46b16a9791de8 (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 9add41a950725d46c9eef21e808ac92375fcfc01
Author: James Fournie <jfournie at vcc.ca>
Date: Thu Jan 17 13:23:12 2019 -0800
LP1783421 - Make Copy Alerts permission not global
For some reason copy alerts require global permissions. Instead
update the IDL for asset.active_copy_alert and asset.copy_alert to
require {CREATE,VIEW,UPDATE,DELETE}_COPY_ALERT perms only as far as
they are scoped for the circ lib of the copy.
Signed-off-by: James Fournie <jfournie at vcc.ca>
Signed-off-by: Chris Sharp <csharp at georgialibraries.org>
Signed-off-by: John Amundson <jamundson at cwmars.org>
Signed-off-by: Jason Stephenson <jason at sigio.com>
diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml
index d541e5f..c66eaad 100644
--- a/Open-ILS/examples/fm_IDL.xml
+++ b/Open-ILS/examples/fm_IDL.xml
@@ -7589,10 +7589,18 @@ SELECT usr,
</links>
<permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
<actions>
- <create permission="ADMIN_COPY_ALERT CREATE_COPY_ALERT" global_required="true"/>
- <retrieve permission="ADMIN_COPY_ALERT VIEW_COPY_ALERT" global_required="true"/>
- <update permission="ADMIN_COPY_ALERT UPDATE_COPY_ALERT" global_required="true"/>
- <delete permission="ADMIN_COPY_ALERT DELETE_COPY_ALERT" global_required="true"/>
+ <create permission="ADMIN_COPY_ALERT CREATE_COPY_ALERT">
+ <context link="copy" field="circ_lib"/>
+ </create>
+ <retrieve permission="ADMIN_COPY_ALERT VIEW_COPY_ALERT">
+ <context link="copy" field="circ_lib"/>
+ </retrieve>
+ <update permission="ADMIN_COPY_ALERT UPDATE_COPY_ALERT">
+ <context link="copy" field="circ_lib"/>
+ </update>
+ <delete permission="ADMIN_COPY_ALERT DELETE_COPY_ALERT">
+ <context link="copy" field="circ_lib"/>
+ </delete>
</actions>
</permacrud>
</class>
@@ -7617,10 +7625,18 @@ SELECT usr,
</links>
<permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
<actions>
- <create permission="ADMIN_COPY_ALERT CREATE_COPY_ALERT" global_required="true"/>
- <retrieve permission="ADMIN_COPY_ALERT VIEW_COPY_ALERT" global_required="true"/>
- <update permission="ADMIN_COPY_ALERT UPDATE_COPY_ALERT" global_required="true"/>
- <delete permission="ADMIN_COPY_ALERT DELETE_COPY_ALERT" global_required="true"/>
+ <create permission="ADMIN_COPY_ALERT CREATE_COPY_ALERT">
+ <context link="copy" field="circ_lib"/>
+ </create>
+ <retrieve permission="ADMIN_COPY_ALERT VIEW_COPY_ALERT">
+ <context link="copy" field="circ_lib"/>
+ </retrieve>
+ <update permission="ADMIN_COPY_ALERT UPDATE_COPY_ALERT">
+ <context link="copy" field="circ_lib"/>
+ </update>
+ <delete permission="ADMIN_COPY_ALERT DELETE_COPY_ALERT">
+ <context link="copy" field="circ_lib"/>
+ </delete>
</actions>
</permacrud>
</class>
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/examples/fm_IDL.xml | 32 ++++++++++++++++++++++++--------
1 files changed, 24 insertions(+), 8 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list