From: Galen Charlton Date: Thu, 13 Feb 2020 21:49:46 +0000 (-0500) Subject: LP#1863386: link ADMIN_CAROUSEL permission to appropriate OU context X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=906f7d59aeb7f9a2bae540d872aba0ee65fe9dc0;p=working%2FEvergreen.git 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 --- diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index 75b52a7597..70d4a14979 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -13019,10 +13019,10 @@ SELECT usr, - - - - + + + + @@ -13045,10 +13045,18 @@ SELECT usr, - - - - + + + + + + + + + + + +