A trivial question but is there a tutorial of how to setup this extension with CPhpAuthManager. To be honest I am struggling to understand how it all fits together and each time I go to the guide to search for guidance I’m thrown away.
[list=1]
[*]I previously was using the basic authentication method using the accessRules() of the Controller and with accessControl in filters.
[*]I managed so far to install the extension along with Bootstrap, set it up to use the bootstrap theme and configure the main.php as per the instructions.
[*]I created a user table with id,name,username,password and role fields and updated the UserIdentity.php authenticate() method to check for the user in the DB. That’s working fine.
[]I went into r=auth with user <<admin>>, and setup several operations like this: item.
[]I created a task name itemAdmin whose child is the item. operation
[*]I created a role named admin whose child is itemAdmin.
[*]I assigned this role to my <<someuser>> user.
[/list]
When loging in as <<someuser>> and trying to access any of the controller actions it says Error 401 Permission denied.
What do I do with the accessControl and accessRules? Do I have to change that?
Now how do I move forward from here?