Re: ACL Questions

2009-01-07 Thread vikas
Hey Fred.. I have some useful tutorial links... I hope it will help u.. links: http://bakery.cakephp.org/articles/view/user-permissions-and-cakephp-acl http://umbrellanetwork.ca/cakephp/cakephp-acl-concepts-from-a-former-noob/ http://realm3.com/articles/setting_up_users_groups_withacl_and_auth

Re: ACL Questions

2009-01-07 Thread Fred
Vikas: I am basically using the layout in the ACL example app in the Cake book (I would create a new Cake install and play with that example app a little bit - that was very helpful for me). It creates ACO entries for each controller/action and ARO for each group and user. I can get it to work as

Re: ACL Questions

2009-01-06 Thread vikas
hey Fred... can u give me some idea about your aco table's entry??? I am trying to implement ACL in my project but little bit confused over aco table's entry...I have also users and group tables. so I hope u can help me... plz help me out... --~--~-~--~~~---~--~

Re: ACL Questions

2009-01-06 Thread eMarcus
Hi Fred, To get the id of a specific group you should use $data = $group->find ('first', array ('conditions' => array ('name' => 'admins'))); $id = $data['Group']['id']; bye me. On Jan 6, 11:34 pm, Fred wrote: > I am new to Cake and have read the Cookbook, tutorials, searched here, > etc. and

ACL Questions

2009-01-06 Thread Fred
I am new to Cake and have read the Cookbook, tutorials, searched here, etc. and have a few questions on ACL. I have created ARO/ACO's as they do in the tutorial and that works great.I can then get things to work as such: $group =& $this->User->Group; //Allow admins to everything

Re: Very Basic ACL Questions

2006-09-27 Thread BlenderStyle
Jeff, I may give up and actually go with ACM. However, I like the challenge of doing this stuff myself and really customizing how it all works and stuff. I'm not ready to throw in the towel yet. --~--~-~--~~~---~--~~ You received this message because you are subsc

Re: Very Basic ACL Questions

2006-09-27 Thread BlenderStyle
Thanks, John. I sort of have my head around this whole idea now. I decided to really take a step back and really learn how this all works within CakePHP. Now I'm having problems with $this->Acl->check and the use of aliases. I'll repost a new topic about these problems. Thanks again. --~--~-

Re: Very Basic ACL Questions

2006-09-26 Thread Jeff
Use the cake ACM, it's sweet! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PRO

Re: Very Basic ACL Questions

2006-09-26 Thread John David Anderson (_psychic_)
On Sep 26, 2006, at 6:30 PM, BlenderStyle wrote: > > After reading the CakePHP manual and tons of other things, I > understand > how ACLs work very well now. I even understand how modified pre-order > tree transversal works to some degree. I get how the various > methods in > the ACL compone

Very Basic ACL Questions

2006-09-26 Thread BlenderStyle
After reading the CakePHP manual and tons of other things, I understand how ACLs work very well now. I even understand how modified pre-order tree transversal works to some degree. I get how the various methods in the ACL components work. However, I still can't grasp how to actually implement this