rework previous

This commit is contained in:
Ad Schellevis 2019-05-24 15:04:15 +02:00
parent 54551b03ee
commit e8dbda338f

View File

@ -89,7 +89,7 @@ class Squid implements IService
public function checkConstraints()
{
// XXX: replace with group membership in 19.7
if (in_array('Local Database', $tmp)) {
if (in_array('Local Database', $this->supportedAuthenticators())) {
return (new ACL())->hasPrivilege($this->getUserName(), 'user-proxy-auth');
} else {
// XXX non local auth, constraints not used. remove with https://github.com/opnsense/core/issues/3250