* @author Shohei Nakajima * @link http://www.netcommons.org NetCommons Project * @license http://www.netcommons.org/license.txt NetCommons License * @copyright Copyright 2014, NetCommons Project */ App::uses('AppController', 'Controller'); /** * UserAttributesApp Controller * * @author Shohei Nakajima * @package NetCommons\UserAttributes\Controller */ class UserAttributesAppController extends AppController { /** * use component * * @var array */ public $components = array( //アクセスの権限 'NetCommons.Permission' => array( 'type' => PermissionComponent::CHECK_TYPE_SYSTEM_PLUGIN, 'allow' => array() ), 'Security', ); /** * beforeFilter * * @return void */ public function beforeFilter() { parent::beforeFilter(); $this->Auth->deny('index', 'view'); } }