I see. Well that is really designed for very simple scenarios.
Mine is slightly complex - firstly the ‘username’ in my user table is an email address. And secondly the ‘type’ field stores the integer value for the role (1=admin, 2=member).
So let’s suppose I do:
array('allow', // allow admin user to perform 'admin' and 'delete' actions
I had a look at the RBAC page, and it suggests that we need to set up / configure the Authorization Manager. Ideally I want to be able to just specify the actions and roles as I have done above and then be able to tell it what defines an ‘admin’ role, for example something like: