authorize

View Paste
  1. No AuthComponent => everything is public
  2.  
  3. With AuthComponent => everything denied by default (e...
View Paste
  1. // Code for your AppController. $this->Auth->userScope() is used to say that only the user with t...