Manage permissions on Doctrine entities