Yii Framework Forum: Assign Rule To New Registered User - Yii Framework Forum

Jump to content

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

Assign Rule To New Registered User without modifying extension code Rate Topic: *---- 2 Votes

#1 User is offline   kashani 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 10-September 12

Posted 24 March 2013 - 05:09 AM

hi dears!
First of all sorry for my bad english .
i have a test project with Yii. I use "yii-user" extension for user management and "Auth" extension for grant access to users.
then I was create a Role - Named "registered_user" - and I want to Assign this Role to new user after egistration.

But I dont want modify "yii-user" module Code. please suggest a solution. What is The Best solution!?

can i attach a behavior to User Model Without Modifying User Model Class Code??
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