Rights with yii-user-management

Welcome everyone,

I’d like to set up yii-user-management module with rights module. I have installed rights modules, and it is working, I installed yum module and it is also working. I generated all operations for yum module in rights interface. Everything seems to be ok, roles are assigned to users, but I always get 403 error “You are not authorized to perform this action.”.

Probably there is some kind of conflict between yum role system and rights. I tried to install yum without role module but it does not work. Has anyone already set yum with rights? IF so please let me know what should i change.

So far I had only extended YumWebUser like this

class RWebUser extends YumWebUser



ok solved, I found answer on srbac forum, you need to rename checkAccess method in YumWebUser :) regards lukbb

hi pleasr help me my problem is your problem how resolve it?

you rename checkAccess method to ?

must be change in protected/modules/user/components/YumWebUser.php

first line:class YumWebUser extends CWebUser to class YumWebUser extends RWebUser