RBAC - checkAccess issue

I have the following relations in AuthItemChild:

As you can see Administrator role has access to manageUsers task which has updateUser as one of it’s child operations. When I check for


Yii::app ()->user->checkAccess ( 'updateUser' )

on a user which has the administrator role assigned to it, it always returns FALSE. Any idea why? Maybe I’m not understanding the RBAC system well.

Bump…anyone?! :P

i’m using the beforeAction() to check if a user is allowed to use a specific action.




    protected function beforeAction()

    {

        if(Yii::app()->user->checkAccess('action' . ucfirst(Yii::app()->controller->getAction()->getId())))

        {

            return true;

        } else {

            Yii::app()->request->redirect(Yii::app()->user->returnUrl);

        }

    }