How can I deny access to users list to un-authenticated users on the yii-user extension module?
On my UserController, I have the following, with no success:
/**
* Specifies the access control rules.
* This method is used by the 'accessControl' filter.
* @return array access control rules
*/
public function accessRules()
{
return array(
array('allow', // allow all users to perform 'login'
'actions'=>array('login'),
'users'=>array('*'),
),
array('allow', // allow admin users to perform 'index' and 'view' action
'actions'=>array('index','view'),
'users'=>array('admin'),
),
array('deny', // deny all users to perform 'index' and 'view' action
'actions'=>array('index','view'),
'users'=>array('*'),
),
array('deny', // deny all users
'users'=>array('*'),
),
);
}