hmm it's working if i use array. I am using version 1.2
I hope my query was confusing for u.

say i want to give access for controller articles and action detail for
every one
but say for controller posts and action detail i want to restrict for
registered user only.
then what i have to do ??

Thanks for response .
Regards
zahid


On Thu, Oct 22, 2009 at 10:14 AM, 默 <mosl...@gmail.com> wrote:

>
> Might you not need to use array, just write like blow:
>
> $this->Auth->allow('register', 'confirm', 'forget',
> 'activate','reset', 'login','logout');
>
> Try it^^!
>
> On 10月22日, 上午10時04分, Zahidur Rahman <zahid01...@gmail.com> wrote:
> > Hi ,
> > How it is possible for me to allow plugins , controllers wise action
> > permission in cakephp auth allow method..
> >
> >  $this->Auth->allow(array('register', 'confirm', 'forget',
> > 'activate','reset', 'login','logout'));
> >
> > Thanks in advance
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to