Pass the model to the security context when checking credentials.

Hello,

With this small change, the ProcessHandler pass the model to the isGranted method of the security context. This would allow either to use Symfony ACL system or to implement model-based authorization checks in a custom Voter. I have to do this in one of my project and I would prefer have this solution than simulating it with a custom pre-validation listener.

Regards,
Adirelle.

:+1: