Hi,
whether it is a tool managing authmanager (DBAuthManger) roles? If not, where should I write my rules to be saved in the database? To save the authorization data to database I have to use save() method?
Thanx!
Hi,
whether it is a tool managing authmanager (DBAuthManger) roles? If not, where should I write my rules to be saved in the database? To save the authorization data to database I have to use save() method?
Thanx!
Hi qwerty,
you can run these commands from the yiic shell.
For example
call the yiic shell on your webapp:
C:Yiiframeworkcore_1.03>yiic shell C:xampphtdocswwwnewindex.php
the shell shows:
Quote
Please type 'help' for help. Type 'exit' to quit.
then you call:
Yii::app()->authManager->createOperation('createArticle','create an article');
the result in the authItem database table:
have fun,
greets ironic
Thanx for quick answer