with the default configuration when using sonata-bundle 3.9.0 I get the following error:
Neither the property "security" nor one of the methods "security()", "getsecurity()"/"issecurity()" or "__call()" exist and have public access in class "Symfony\Bridge\Twig\AppVariable" in SonataAdminBundle::standard_layout.html.twig at line 184.
with the default configuration when using sonata-bundle 3.9.0 I get the following error: