Yii Framework Forum: Chapter 8: rbac auth->assign - Yii Framework Forum

Jump to content

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

Chapter 8: rbac auth->assign

#1 User is offline   sasori 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 300
  • Joined: 05-November 10

Posted 16 November 2010 - 05:32 AM

Hi,

I just wanna ask where was this code snippet used in the real code and not the phpunit test codes ?
(this snippet is found at page 201)
$auth->assign('member',$row1['user_id'], $bizRule);


I already have the necessary functions plus tables to be used in the rbac, but i think I don't know where to place the assigning of roles to a user
can you please elaborate the steps to do that (based on the trackstar files? ) thanks
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