Jump to content
Larry Ullman's Book Forums

ballvicki

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About ballvicki

  • Rank
    Newbie
  1. Thank you - you were spot on! Apologies only just got round to sorting this out (shocking!)
  2. Thank you Larry - will give that a go and see what happens!
  3. Yes - thats it exactly - it appears to stop adding to the database directly after: $task=$auth->createTask('updateOwnUser', 'Allows a user to update her record','return $params["id"]==Yii::app()->user->id;'); I'm not getting any error messages or anything, and the tables are all InnoDB...
  4. First of all thank you for an invaluable resource - its helped me alot! I am having a bit of a problem setting up the database for the authManager. I used the setup script to set up three databases: Auth Assignment, AuthItem and AuthItemChild - but when I run the setup script it appears to stop adding to the database when it gets to the task bit! Am very much a newbie, so any help as to where my code is going wrong would be greatly appreciated! Vicki public function actionSetup() { $auth=Yii::app()->authManager; // Create Operations $auth->createOperation('create
×
×
  • Create New...