ACL Aro id problem

2010-12-21 Thread hcentelles
Hi

The field aro_id in table aros_acos is the id of the aro or the
foreign key of the aro?.

The allow method of the acl componet creates the rows with the aro id,
but that dont work, in the groups case, only work if the aro id and
the foreign key are equals, however if are diferent dont work, but if
i replace the aro id with the id of the group work perfect.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: ACL Aro id problem

2010-12-21 Thread cricket
aros_acos.aro_id is the FK pointing to aros.id, while the FK point to
your Group would be aros.foreign_key.

On Tue, Dec 21, 2010 at 3:06 PM, hcentelles hcentel...@gmail.com wrote:
 Hi

 The field aro_id in table aros_acos is the id of the aro or the
 foreign key of the aro?.

 The allow method of the acl componet creates the rows with the aro id,
 but that dont work, in the groups case, only work if the aro id and
 the foreign key are equals, however if are diferent dont work, but if
 i replace the aro id with the id of the group work perfect.

 Check out the new CakePHP Questions site http://cakeqs.org and help others 
 with their CakePHP related questions.

 You received this message because you are subscribed to the Google Groups 
 CakePHP group.
 To post to this group, send email to cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
 http://groups.google.com/group/cake-php?hl=en


Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en