Repository navigation
Tags
Tags
Fix the backend search permission checks (see #10430) Description ----------- Fixes #10429 After updating to 5.7.14 the backend search does not work anymore and produces the following entries in the log. This PR fixes the issue. ``` request.CRITICAL: Uncaught PHP Exception TypeError: "Contao\CoreBundle\Security\Voter\DataContainer\TableAccessVoter::supportsAttribute(): Argument #1 ($attribute) must be of type string, array given" at TableAccessVoter.php line 47 ``` After fixing that issue the following error message was logged, which is also fixed in this PR. ``` request.CRITICAL: Uncaught PHP Exception Exception: "Serialization of 'Symfony\Component\Security\Core\Authentication\Token\AbstractToken@anonymous' is not allowed" at TableAccessVoter.php line 102 ``` Commits ------- 47a5d4d7 Fix backend search permission checks f5884343 PHPStan 8df1fe0d ECS
PreviousNext