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@biblio.org>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
<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>