feat: 增强后台设置校验、代理权限控制与财务审计能力
This commit is contained in:
@@ -443,7 +443,7 @@ final class AdminUser extends Authenticatable
|
||||
return false;
|
||||
}
|
||||
|
||||
return count(array_intersect($needed, $effective)) > 0;
|
||||
return count(array_diff($needed, $effective)) === 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user