LP#1863386: link ADMIN_CAROUSEL permission to appropriate OU context
authorGalen Charlton <gmc@equinoxinitiative.org>
Thu, 13 Feb 2020 21:49:46 +0000 (16:49 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Wed, 19 Aug 2020 15:09:11 +0000 (11:09 -0400)
commitff4de5ff55c54244f41927232e44321ce8d7ceb4
tree3c0e629672d594ee82806811e499f6c309208951
parent39a33dada57b044188437d4912ddf7bff2d5d908
LP#1863386: link ADMIN_CAROUSEL permission to appropriate OU context

This patch restricts prcrud retrieval and modification of templates
to users who have ADMIN_CAROUSEL in the relevant carousel owner OU
rather than requiring global_required.

To test
-------
[1] Apply the patch.
[2] Ensure that a user with ADMIN_CAROUSEL privileges at a depth
    lower than "Consortium" can only view and edit carousel
    definitions at OUs applicable to their working libraries.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jennifer Weston <jennifer.weston@equinoxinitiative.org>
Open-ILS/examples/fm_IDL.xml