Auth->allowedActions() 和 Auth->allow() 有什么区别;?
$this->Auth->allowedActions = array('index','view','archive','listarchive','viewfromcategory','tags','aboutme','contact','polls');
或者
$this->Auth->allow(array('index','view','archive','listarchive','viewfromcategory','tags','aboutme','contact','polls'));