Hello Everyone,
I have downloaded & installed Yii Rights. But I have two doubts.
-
Suppose I have controller class with some functions. So Create operation will take only those functions whose prefix is "action" for e.g actionIndex(). But what if I also want to generate operation for the functions which are not prefixed with Keyword "action" ?
-
I have one function which does two operations i.e.
function actionIndex()
{
// Operation part 1
// Operation part 2
}
So Is it possible with Yii rights to restrict the user to access some part of function may be Part 1 OR Part 2.
Thanks in advance.