Re: Help with ACL/Authentication Tutorial

2009-10-23 Thread aaron
Don't worry about itI moved it from my Mac to a Linux box and it worked. On Oct 22, 7:06 pm, jacmoe wrote: > You either need to downgrade your PHP to 5.2, or upgrade your Cake to > 1.3. :) > > On Oct 22, 10:07 pm, aaron wrote: > > > Versions: MySQL 5, PHP 5.3, Apache2 (Snow Leopard) > > > I

Re: Help with ACL/Authentication Tutorial

2009-10-23 Thread aaron
This is what my console says: Welcome to CakePHP v1.3.0.0 Console --- App : app odd huh? On Oct 22, 7:06 pm, jacmoe wrote: > You either need to downgrade your PHP to 5.2, or upgrade your Cake to > 1.3. :) > > On Oct 22, 10:07 p

Re: Help with ACL/Authentication Tutorial

2009-10-22 Thread jacmoe
You either need to downgrade your PHP to 5.2, or upgrade your Cake to 1.3. :) On Oct 22, 10:07 pm, aaron wrote: > Versions: MySQL 5, PHP 5.3, Apache2 (Snow Leopard) > > I am going through:http://book.cakephp.org/view/642/Preparing-our-Application > > The pages says to "use cake bake, call 'cake

Re: Help with ACL

2008-11-02 Thread jst4fun
In my above post I had said "These 4 groups will be common for all office and the rules are predefined for these for groups.". Please read it as "From these, 4 groups will be common for all office and the rules for those four groups are predefined" On Nov 3, 11:44 am, jst4fun <[EMAIL PROTECTED]>

Re: Help with ACL

2008-11-02 Thread jst4fun
Hi Stinkbug, Thanks again for your interest in helping me out. Sorry for the delay. I was able to setup permission dynamically. But still it is not proper. Before going further I will provide you my table structure offices table: id- int name - varchar groups Table id - int office

Re: Help with ACL

2008-10-31 Thread Stinkbug
Well, so much for an answer soon. Sorry about that. Not sure if you still need help with this, but could you show us your aro and aco structures so I get get a better idea as to what you're trying to do. I think I see what you're trying to do, but let's see if you have a proper ACl setup first.

Re: Help with ACL

2008-10-24 Thread jst4fun
Well I had gone through the links which you guys had provided. Thanks. But the issue for me to implement an ACL is that I am not sure what all function should be used due to the lack of documentation. One of the requirement is already discussed above. I think I was able to implement it partially.

Re: Help with ACL

2008-10-23 Thread jst4fun
Penfold and Stinkbug, thank you very much for your support. I am working on it and if I face any issues I will come back and I hope you guys will help out :). Thanks once again --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Help with ACL

2008-10-23 Thread Stinkbug
There is already a good discussion about users in multiple groups. Check it out and see if it helps you out. http://groups.google.com/group/cake-php/browse_thread/thread/b3b646023e97c1f3/5a2d623896424a56?hl=en&lnk=st&q=#5a2d623896424a56 I don't think Cake really supports it. However, in my opin

Re: Help with ACL

2008-10-22 Thread Penfold
HI, In your example there are users with multiple groups. this tutorial will help you. http://www.cakephpforum.net/index.php?s=5b11d7970e067edd8521121a5b0593e9&showtopic=745 On 21 Oct, 06:06, jst4fun <[EMAIL PROTECTED]> wrote: > Hi All, > I have been trying to create an application using cakep

Re: Help with ACL and/or tree behavior

2007-03-16 Thread Stefan
I found something but I'm not sure if it's correct: $aro = $this->Acl->Aro; $tree = $aro->behaviors["Tree"]; for a parent: $tree->setup($aro,array("parent" => "Aro.id")); // just "id" doesn't work $aro- >save(array('model'=>'Roles','foreign_key'=>'0','alias'=>'Parent')); for children: $tre

Re: Help with ACL and/or tree behavior

2007-02-23 Thread nickgust
I just went through this myself... have you looked at the sample in the manual (http://manual.cakephp.org/chapter/acl) ? I found that it describes what you need to do pretty well and from the look of it you might be missing a step. cheers On Feb 23, 3:17 pm, "scragz" <[EMAIL PROTECTED]> wrote