Month: June 2015

Symfony 2 – How-to check user’s role in Voter

How-to make sure in a Voter that a user has the right role in the Symfony role hierarchy. first, two links. One to the Symfony 2 Voter’s documentation, and the second to the Access Decision Manager’s documentation. We will see