From: Thomas Berezansky Date: Tue, 24 Mar 2015 15:13:36 +0000 (-0400) Subject: Wrap auth check around clearcache URLs X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=69034535f61124dccb556823bbef45bd94ab1109;p=working%2FEvergreen.git Wrap auth check around clearcache URLs Only allow staff to clear the cache values. Signed-off-by: Thomas Berezansky --- diff --git a/Open-ILS/examples/apache/eg_vhost.conf.in b/Open-ILS/examples/apache/eg_vhost.conf.in index 87e90543dc..50bb190f74 100644 --- a/Open-ILS/examples/apache/eg_vhost.conf.in +++ b/Open-ILS/examples/apache/eg_vhost.conf.in @@ -52,6 +52,12 @@ OSRFTranslatorConfig @sysconfdir@/opensrf_core.xml allow from all +# Lock clearing cache down to STAFF_LOGIN + + PerlAccessHandler OpenILS::WWW::AccessHandler + PerlSetVar OILSAccessHandlerPermission "STAFF_LOGIN" + + # Autosuggest for searches SetHandler perl-script diff --git a/Open-ILS/examples/apache_24/eg_vhost.conf.in b/Open-ILS/examples/apache_24/eg_vhost.conf.in index d4bbd785cd..c3aa65f277 100644 --- a/Open-ILS/examples/apache_24/eg_vhost.conf.in +++ b/Open-ILS/examples/apache_24/eg_vhost.conf.in @@ -52,6 +52,12 @@ OSRFTranslatorConfig @sysconfdir@/opensrf_core.xml Require all granted +# Lock clearing cache down to STAFF_LOGIN + + PerlAccessHandler OpenILS::WWW::AccessHandler + PerlSetVar OILSAccessHandlerPermission "STAFF_LOGIN" + + # Autosuggest for searches SetHandler perl-script