Re: cake 1.3 Aro parent_id disappears when user logs for the first time

2011-10-07 Thread nastya
YES! Found it. Actually the problem was in the function parentNode() in User.php model: function parentNode(){ if(!$this->id && empty($this->data)) return null; $data= empty($this->data) ? $this->read() : $this->data; if(empty($data['User']['group_id'])) return

cake 1.3 Aro parent_id disappears when user logs for the first time

2011-10-07 Thread nastya
Hi Could you please help me with the following question? I have installed Auth and Acl. I create a new user User1 who is in Group1 (who has aro id 10, for example). There is automatically an Aro created for this user with the Aros table with right is, parent_id, foreign_id, etc... Parent_id