mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 00:24:40 +00:00
rework previous
This commit is contained in:
parent
54551b03ee
commit
e8dbda338f
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user