Skip to content

Commit

Permalink
Merge pull request cakephp#471 from yourivdlans/master
Browse files Browse the repository at this point in the history
Allow all actions for controller in the 'Simple Acl controller Application' tutorial
  • Loading branch information
markstory committed Jan 30, 2013
2 parents 941b885 + 35cb1af commit 26599c5
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,12 @@ and users. In **both** your ``GroupsController`` and your

public function beforeFilter() {
parent::beforeFilter();

// For CakePHP 2.0
$this->Auth->allow('*');

// For CakePHP 2.1 and up
$this->Auth->allow();
}

These statements tell AuthComponent to allow public access to all
Expand Down

0 comments on commit 26599c5

Please sign in to comment.