In the function accessRules() I have defined the following access rule
array('allow', // allow admin user to perform 'admin' 'actions'=>array('admin'), 'role'=>array('administrator','administer'), ),
however, when I execute my code I get an Property "CAccessRule.role" is not defined. CException.
I have my AuthManager configured (config/main.php and created the roles/operations)
Any suggestions how to fix this.
Note: administrator is a role and ‘administer’ an operation
I’ve also tried with only ‘administer’ or ‘administrator’ giving the same error!