How to test the hierarchal role structure in Symfony 2
So, there was a discussion in #symfony about how to test if ROLE_A was included within ROLE_B.
Long answer short — there’s no clear cut way that I found. That being said – I did figure out how to do it.
I’m sure there’s slightly cleaner ways to do this, but I was just going for getting it running.