]> git.evergreen-ils.org Git - working/Evergreen.git/commit
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)
committerMike Rylander <mrylander@gmail.com>
Fri, 21 Feb 2020 20:02:45 +0000 (15:02 -0500)
commit4d1cb47c383e1686f4b2a55c1f3e906db1d8c4a4
tree86a689a2057abf132441817909297c3fad7923bc
parent0bff4ed1efbcd6dedd8398b5080ec0dec2b2cf7c
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