LP#1873048: add scoped retrieve perm for booking resource types
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Tue, 28 Apr 2020 18:22:10 +0000 (11:22 -0700)
committerJeff Davis <jdavis@sitka.bclibraries.ca>
Tue, 28 Apr 2020 18:22:10 +0000 (11:22 -0700)
commit4d5977d6ef2066f03b10fd9976e64a4eab0c2b7f
treee3fba721cb3406485462cc401e6259dbd22a663a
parent44d3de1b1398691fbf4d1abb3dca21fd904633c0
LP#1873048: add scoped retrieve perm for booking resource types

In the XUL client, when selecting a resource type, the list was limited
by owning library.  But in the web client, the list would show all
resource types across all libraries.  This commit addresses that
regression by adding a retrieve permission with context_field in the
IDL.  That way, users only see resource types owned by org units where
they have the ADMIN_BOOKING_RESOURCE_TYPE perm.

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Open-ILS/examples/fm_IDL.xml