Hi, i’m using YUM for some time and i have seen issues with accessRules and filters. I have configured YUM as google code instructions (main.php config with user, registration… modules and YumWebUser component as user component class). I have this issue:
I configured filters and accessrules in a controller as below:
public function filters()
{
return array(
'accessControl',
);
}
public function accessRules()
{
return array(
array('allow',
'actions'=>array('contact', 'error'),
'users'=>array('*'),
),
array('allow',
'actions'=>array('index', 'inicio'),
'users'=>array('@'),
),
array('deny',
'users'=>array('*'),
),
);
}
When I try access to index or inicio action i get “you don’t have permissions” error, but my user is logged on and Yii::app()->user->id works properly. I can access to /user/user/admin url correctly. Can anyone help me?
I figured out how to get yumtextsettings table defined (for some reason it didn’t install) and I updated the user in the config to point to it, but now after registering a user I’m getting, by the way the user was added to the table:
Property "YumWebUser.textSettingsTable" is not defined.
I want to know how can I add new fields in the registration form comprising Yii auto complete widget and those new fields I want to save in new table other than profile table.
I am having trouble with this whole installation(newbie) I was wondering if there is a video installation of this? I really would like to see how this works. Please!
many thanks for this module. it works ok. but when i tried to access "TextTranslations" i got this error "Declaration of YumTranslationController::loadModel() should be compatible with that of YumController::loadModel()"
sorry. this was second error i got. first was about ajax validation. a fixed it. but seeing this error i’m not shure if i should fix it or not.
i’m using 0.8 version from yii extensions repository.
now i’m translating messages to russian. where can i submit translation when i’m finished? i took french messages as there are most of them (544)
Thyseus, now that we have a fairly stable 0.8rc SVN version, I think we should add the StasuSS contribution and make a 0.8 final release. What do you think?
BTW, I started another project and I’m going to use YUM in it, so you have again a active developer on the front line.