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


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.

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