Categories Current Searches Check specific user permission in a twig view – Stack Overflow Post author By Mike Nova Post date September 25, 2025 Although a solution that does not use isGranted, like a service, or an injection, is perfectly acceptable to me, I would prefer to keep it simple. I was planning to build a twig function, but I would like to know if I’m reinventing the wheel or not.