User Access Control Problem

Hi guys…

I followed along with the book up to chapter 8 and now at the end of it.

when trying to implement adding users to projects section, I did all the coding correct as in the book and when I tried to load the page (http://localhost/trackstar/index.php?r=project/adduser&id=1),

I get a 403 error, you are not authorized to perform this action.

I understand this may be caused by user access control. username I logged in with has not been assigned with the project, So, what is the way that we can add a user to a project(the thing is, that is what exactly I am trying to do with the code…). I tried manually adding the rows to the database but did not work…

Appreciate some help…

thanks…