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
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
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...
--~--~-~--~~~---~--~
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
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
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
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.
--~--~-
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
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
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
10 matches
Mail list logo