No you don't. As AD7Six said earlier, you need to look at isAuthorized(); http://book.cakephp.org/view/396/authorize#!/view/247/AuthComponent-Methods
Jeremy Burns Class Outfit [email protected] http://www.classoutfit.com On 14 Feb 2011, at 13:16, Leonardo Hidalgo Piña wrote: > need to use acl > > http://book.cakephp.org/view/1543/Simple-Acl-controlled-Application > > 2011/2/14 [email protected] <[email protected]> > I have a app where I want to add Auth authentication in all > views.There will be one rule as only admin can access "add" > views.Other views can be accessed by everybody. > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > [email protected] For more options, visit this group at > http://groups.google.com/group/cake-php > > > > -- > Leonardo Hidalgo Piña > Desarrollador Web > http://braindeveloper.me > > MSN: [email protected] > Celular: (+56) (99) 632 5603 > Skype: r0cket82 > Twitter: rocket82 > > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > [email protected] For more options, visit this group at > http://groups.google.com/group/cake-php -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
