I am new to Zend Framework 2. I am using ZfcUser and Bjyauthorize.
I have three different roles: admin, instructor, and student. Each of them is supposed to get different views and access to different actions after authentication.
I am familiar with this programmatic solution: when the program checks the role in and dispatches each role to a relative action. However, I feel there should be a solution during configuration stage for this. I found some attempts, but I don't think it was ever merged to the main branch, and I do not want to modify ZfcUser on my own.
Any advice? Should I continue with programmatic solution?