Thank you for taking the time to read my post and supply an answer. However it arises new questions.
before reading the rest of this post,
an action is indeed a task
an action group an operation
a role is a role
and a user a user.
I understand that my issue looks alot like what can be achieved using standard yii features. In this case, I would like to make usages of these features.
My main problem is in this case also, that I lack the knowledge to implement it. Let alone make it webbased, ie a certain user with a role as "admin"(a role can be anything, roles differentiate cause of the action groups assigned to it) should be able to make a new role, and assign action groups to this role, and actions to certain action groups.
I have actually taken the time to find as much information as possible, but for what i can see in the tutorial, the whole relationship is described in php, i need the actions to be directly inserted and read from the database, a user should obviously not touch any php whatsoever
actions, or tasks, will ofcourse be added as we develop.
What I saw in the tutorials, is that there is one huge php file, with an amount of roles, etc, I want to completely avoid this, I want everything in my database, and I want the authentication to be read from the database. how exactly does this work?
I apologise if im being vague.
My head is spinning atm. Im probably thinking to difficult. But I really need to get this sorted before I can continue.
During the development, I will be the one to create tasks for each controller action, the entire relation beyond that, needs to be managable by users that have no clue whatsoever, who only know how to press buttons, for example.
From what I saw, for yii rbac, in the scheme provided with the framework, upon importing it, it creates three tables, authItem, authItemChild, authAssignment.
I assume authItem is a task, authItemChild, an operation, but what is the assignment? is that a group? and how does it make the relations to any user or role?
I really need to be sure, which of these three tables is an action?