Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #6950

Category None
Changed by Jeff Davis <jdavisohnoyoudont@sitka.bclibraries.ca>
Changed at Mon 04 May 2020 13:18:12
Repository git://git.evergreen-ils.org/Evergreen.git
Project Evergreen
Branch master
Revision 6b310dc1a929e78e77de2fd741c6a5a8526a93f9

Comments

LP#1873048: add scoped retrieve perms for booking resource types and resources
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 new VIEW_BOOKING_RESOURCE_TYPE permission with
context_field in the IDL.  That way, users only see resource types owned
by org units where they have the permission.

While we're at it, a new VIEW_BOOKING_RESOURCE perm is also added for
resources.

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>

Changed files