Roles

Hi,

I have this code …




array("allow",

				

	"controllers" => array("user"),

	"actions" => array("index", "createsub", "editsub", "deletesub"),

	"roles" => array("accountHolder")

				

),



The account holder is in the DB record, "AuthAssignment" with correct "userid" however there are no "AuthItems", "AuthItemChild".

Do I need to do something in the auth.php file to make this work, or should it just work with what I have got?

Use rights extension, it can solve your problem…

Ok thanks.

But are we saying that Yii does not have built in methods to delete AuthItems (child db records) of users etc.

AND

It does not have the ability to get AuthorisationItem name of user?