Hello there Thanks for your replies guys. The params array works just fine. Just on a querying note, does "auth" component work with Cakephp 1.1 as well?
Thanks and Regards ShiVik On Jan 10, 4:45 am, Pedro Nascimento <[email protected]> wrote: > Yeah, you can check Auth->allow and deny methods. They're great. > > > > On Sat, Jan 9, 2010 at 00:43, euromark <[email protected]> wrote: > > take a lock at > > $this->params > > > you can do that with > > pr() which prints out the array as long as you are in debug mode > > > there is > > - controller: $this->params['controller'] > > - action: $this->params['action'] > > and more > > but those two should do it for now > > > you can now check on them > > but as soon as you need more functionality check out "auth component" > > it is very good and powerful in handling rights > > > On 9 Jan., 03:36, SeeVik <[email protected]> wrote: > > > Hello all > > > > I am just starting out with cakephp. I want to restrict the access to > > > some particular controllers and actions depending on user privileges. > > > I am thinking of doing this in the app_controller module. I wanted to > > > know how can I check the controller and action being accessed over > > > there. > > > > Thanks and Regards > > > ShiVik > > > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others > > with their CakePHP related questions. > > > 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]<cake-php%[email protected] > > om>For more options, visit this group at > >http://groups.google.com/group/cake-php?hl=en
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
