Chapter 8: rbac auth->assign

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