hi,
for that u need to use condition,
$user=$this->Session->read('Auth.user');
if($user=='username here'){
( remaining code)
}i am not sure that it 100 perfect but u should go through this way, or try to give a unique id to each action and then use it in action,if condition true show the form else hide, for that u also need to use javascript. hope this will give u some trick, happy valentine day! best regards andy On Feb 14, 10:56 am, "[email protected]" <[email protected]> wrote: > Is there anyway to add Auth authentication on each and every views > into a built application?The rule will be only admin can access the > "add" view.Other can access all views and admin can add users. -- 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
