Deep State
When using findBy
or findByOne
methods on the AclHelperAgent
, you can now filter by using complex criteria such as LIKE
or BETWEEN
and even filter on values of deep associations.
$agent->findBy($identity, $mask, [
'children.createdAt' => ['BETWEEN' => [$yesterdayDateTime, $todayDateTime]],
'children.name' => ['IN' => ['Laura', 'David']],
'children.sibling' => ['!=' => 1],
]);
Also, allows for the user of using class-level ACLs in queries. This is turned on by default. This may differ from the default behavior of the ACL Bundle, which allows for Class-level security definitions but doesn't always seem to trust them.