Yii Framework Forum: Another RBAC question: checkAccess() returning false? - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Another RBAC question: checkAccess() returning false?

#1 User is offline   yiiter 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 03-January 11

Posted 15 January 2011 - 07:50 PM

I did everything inside CH8 and successfully(?) modified all the code. Looks like everything is working fine EXCEPT when I log in as Test_User_One which is a valid entry in the database (trackstar_dev as well as trackstar_test) I'm not getting 'Add User To Project' link displayed in the menu. Also, when I try index.php?r=project/addUser&id=1 while I'm logged in as Test_User_One I'm also getting Error 403 "You're not authorized to access this page".
So the obvious reason for those two failed statements is that checkAccess() function returning false. At this point my question is; what does all the data related to a project and user is supposed to look like in my database so that Test_User_One is not only authenticated but also authorized for all the actions.
I understand that this may be a dumb question however as someone who has never worked with RBAC, let alone a framework before I feel like a super human trying to wrap my head around this concept.
Any info will be greatly appreciated!!!
0

#2 User is offline   fuzzyone 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 26-January 11

Posted 26 January 2011 - 02:30 AM

got the same problem...
0

#3 User is offline   AmeL 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 8
  • Joined: 02-February 11

Posted 04 February 2011 - 11:03 AM

Well, I've got such problem too.
my question is here.
You guys found the solution yet?
0

#4 User is offline   corbeeresearch 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 56
  • Joined: 21-August 10

Posted 05 February 2011 - 11:39 PM

I think the real problem is the version of Yii - 1.1.6

Maybe there will be an update anytime soon on the Identified Issues thread?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users