Re: Model like both ACO and ARO in ACL

2010-07-29 Thread AD7six
On Jul 29, 4:32 pm, "marco.rizze...@gmail.com" wrote: > Can you tell me how the model has to be configurated? well, I misread your question. I don't think the core behavior will allow act as both however you can just follow xander's lead. hth, AD Check out the new CakePHP Questions site http

Re: Model like both ACO and ARO in ACL

2010-07-29 Thread marco.rizze...@gmail.com
Can you tell me how the model has to be configurated? On 29 Lug, 15:04, AD7six wrote: > On Jul 29, 1:16 pm, "marco.rizze...@gmail.com" > > wrote: > > Can someone some suggestion for me? > > Yes. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP relat

Re: Model like both ACO and ARO in ACL

2010-07-29 Thread Xander
I didn't find any predefined way to set the model as both Aco & Aro, so I made it Aco only and I added some code to afterSave() (when $created is true) and beforeDelete() callbacks wich creates and deletes aro nodes. On 29 Lip, 13:16, "marco.rizze...@gmail.com" wrote: > Can someone some suggestio

Re: Model like both ACO and ARO in ACL

2010-07-29 Thread AD7six
On Jul 29, 1:16 pm, "marco.rizze...@gmail.com" wrote: > Can someone some suggestion for me? Yes. 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 "CakePH

Re: Model like both ACO and ARO in ACL

2010-07-29 Thread marco.rizze...@gmail.com
Can someone some suggestion for me? Thanks On 29 Lug, 09:41, "marco.rizze...@gmail.com" wrote: > Hi is it possible use a model in Acl both ARO and ACO? > Thanks > Marco Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You rec

Model like both ACO and ARO in ACL

2010-07-29 Thread marco.rizze...@gmail.com
Hi is it possible use a model in Acl both ARO and ACO? Thanks Marco 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 gr