function beforeFilter() { parent::beforeFilter(); $this->Auth->allow('register', 'login', 'logout', 'facebook_connect', 'twitter_connect', 'twitter_login', 'oauth_callback'); $this->User->bindModel(array('belongsTo' => array('Group' => array('className' => 'AclManagement.Group', 'foreignKey' => 'group_id', 'dependent' => true))), false); }
function beforeFilter() { parent::beforeFilter(); }
public function beforeFilter() { parent::beforeFilter(); //$this->Auth->allow('index', 'get_children', 'edit', 'toggle', 'sync'); $this->Permission = ClassRegistry::init('Permission'); }