Bin will be removed on June 1, 2014 in favor of http://gist.github.com. Please save all your pastes before then. So long, and thanks for all the fish!×

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...