Yii Framework Forum: Change Reference From Username To Userid (Or Something Else) In Rbac - Yii Framework Forum

Jump to content

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

Change Reference From Username To Userid (Or Something Else) In Rbac Rate Topic: -----

#1 User is offline   Jorgee 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 58
  • Joined: 22-March 13

Posted 09 April 2013 - 02:27 PM

Hi, I'd like to replace rbac_item_assignment::userid property in table schema(that uses a string name) to an INT that is a foreign key to users::id table.

Where in the code should I edit to get this working when I make assignments and checkAccess?

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