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.
someone people use it and they never know how it works, it is good to have a hint, although as you said there is a better understanding and conveying of how it works that we could explore, great post.