Yea, that's what I was thinking I would have to do, but wanted to make sure there wasn't another solution. The problem is that I have a few hundred ARO's that's going to have to be set on a form submission. I can up my time out, but it's going to take a while. Anyone have any solutions on how to send the browser a processing screen while my ACL gets updated?
On Sep 5, 4:04 pm, Kappa <[EMAIL PROTECTED]> wrote: > I have been working with AROs and ACOs in the last period, > and i think the the main problem of your question relies on the fact > that both AROs and ACOs are organized as trees (MPTT), so since in > general > there is no explicit 1-1 association between ARO and ACO, but > each rule it's tipically expressed for a node (wich probably has some > children) > of ARO towards a node (that could have children too) of ACO. > > Probably, if what you need it's the list of ACOS an user can do, > you should iterate over leaf nodes of ACO and check them one by one, > (or viceversa if you need the ooposite thing). > > On Sep 5, 5:42 pm, Stinkbug <[EMAIL PROTECTED]> wrote: > > > I'm having a some trouble finding practical examples on how to do > > this. I would like to take an ACO and find a list of ARO's that have > > access to it. And visversa, an ARO and find what ACO's that Aro has > > access to. > > > Is there something built into cake that will do that. I've looked at > > the AclNode, but couldn't get it to work. I suppose there's always a > > custom method that could be built to query that data. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
