I have a sonata admin (3.40) alongside an ez platform CMS (2.3).
Both have their own user provider.
Sonata uses fos_userbundle with my own Entity.
When I log into the sonata, the token has a UserWrapped instance with the original user and api user in it.
Then Sonata obviously throws errors:
Neither the property “id” nor one of the methods “id()”, “getid()”/“isid()”/“hasid()” or “__call()” exist and have public access in class “eZ\Publish\Core\MVC\Symfony\Security\UserWrapped”.
I authenticate my user against a completely separate firewall, why would ez publish overwrite my user?
And even if it overwrites it, why would my User cease to work? Why are the
UserWrapped methods not “dispatched” to the “Original User”? How is this supposed to ever work?
Is there a configuration where I can say, “please bypass the ezplatform securitylistener” for this firewall, because there is nothing for you there?