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

Evergreen Git git at git.evergreen-ils.org
Tue Jul 24 11:17:51 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, master has been updated
       via  bf836230020982a229b95dcf8ed3f47e401293a4 (commit)
      from  f16f7a84b73f83b6248560f212fddc1dd0c3b094 (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 bf836230020982a229b95dcf8ed3f47e401293a4
Author: Ben Shum <bshum at biblio.org>
Date:   Tue Jul 24 10:36:49 2012 -0400

    Remove retrieve permissions from org units
    
    Noticeably broken for the new simplified pull list when org units were not
    visible from the interface to users without the following permissions:
    
    CREATE_ORG_UNIT
    UPDATE_ORG_UNIT
    DELETE_ORG_UNIT
    
    Since regular staff accounts would never be given any of these permissions
    and nothing really secretive is included in org unit lookup, this change
    removes those permissionas being required for retrieve.
    
    Signed-off-by: Ben Shum <bshum at biblio.org>
    Signed-off-by: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>

diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml
index a603348..780751f 100644
--- a/Open-ILS/examples/fm_IDL.xml
+++ b/Open-ILS/examples/fm_IDL.xml
@@ -5278,10 +5278,7 @@ SELECT  usr,
         <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
             <actions>
                 <create permission="CREATE_ORG_UNIT" context_field="parent_ou"/>
-                <retrieve permission="CREATE_ORG_UNIT UPDATE_ORG_UNIT DELETE_ORG_UNIT">
-                    <context field="id"/>
-                    <context field="parent_ou"/>
-				</retrieve>
+                <retrieve />
                 <update permission="UPDATE_ORG_UNIT" context_field="id"/>
                 <delete permission="DELETE_ORG_UNIT" context_field="parent_ou"/>
             </actions>

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

Summary of changes:
 Open-ILS/examples/fm_IDL.xml |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list