In developing yii apps for SAAS use, the default name of admin is too common. I use email address for unique identifier and username can be duplicated. So, I want to reserve one admin user name for the overall admin of the application.
Today, I have to edit every controller from ‘users’=>array(‘admin’) to ‘users’=>array(‘admin-someCompanyName’).
Could gii make this a global variable for a one place change? I’m wondering if I should be moving to role base instead, yet one admin login is all I need for the application.