[Solved] How to check if another user of me can access on this current page

[ad_1]

My solution :

1) create a token \Symfony\Component\Security\Core\Authentication\Token\PreAuthenticatedToken with user.

2) use the 'security.access.decision_manager' for decide if the user have the granted access.

This solution is simple but not shared here.

[ad_2]

solved How to check if another user of me can access on this current page