Only allow staff to clear the cache values.
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
allow from all
</Location>
+# Lock clearing cache down to STAFF_LOGIN
+<Location /opac/extras/ac/clearcache/>
+ PerlAccessHandler OpenILS::WWW::AccessHandler
+ PerlSetVar OILSAccessHandlerPermission "STAFF_LOGIN"
+</Location>
+
# Autosuggest for searches
<Location /opac/extras/autosuggest>
SetHandler perl-script
Require all granted
</Location>
+# Lock clearing cache down to STAFF_LOGIN
+<Location /opac/extras/ac/clearcache/>
+ PerlAccessHandler OpenILS::WWW::AccessHandler
+ PerlSetVar OILSAccessHandlerPermission "STAFF_LOGIN"
+</Location>
+
# Autosuggest for searches
<Location /opac/extras/autosuggest>
SetHandler perl-script