public function behaviors() { return ['access' => ['class' => AccessControl::className(), 'ruleConfig' => ['class' => \frontend\components\AccessRule::className()], 'rules' => [['actions' => ['view', 'index', 'create', 'update'], 'allow' => true, 'roles' => ['@']]]], 'verbs' => ['class' => VerbFilter::className(), 'actions' => ['delete' => ['post']]]]; }
/** * @inheritdoc */ public function behaviors() { return ['access' => ['class' => AccessControl::className(), 'except' => ['login', 'logout', 'autologin', 'captcha', 'index'], 'ruleConfig' => ['class' => \frontend\components\AccessRule::className()], 'rules' => [['actions' => ['signup', 'autologin', 'captcha', 'index'], 'allow' => true, 'roles' => ['?']], ['actions' => ['logout'], 'allow' => true, 'roles' => ['@']]]], 'verbs' => ['class' => VerbFilter::className(), 'actions' => ['logout' => ['post']]]]; }
public function behaviors() { return ['access' => ['class' => AccessControl::className(), 'except' => ['login', 'logout', 'autologin'], 'ruleConfig' => ['class' => \frontend\components\AccessRule::className()], 'rules' => [['actions' => ['autologin'], 'allow' => true, 'roles' => ['?']], ['actions' => ['index', 'changepassword', 'view', 'validate', 'create', 'delete'], 'allow' => true, 'roles' => ['@']]]], 'verbs' => ['class' => VerbFilter::className(), 'actions' => ['logout' => ['post']]]]; }
public function behaviors() { return ['access' => ['class' => AccessControl::className(), 'ruleConfig' => ['class' => \frontend\components\AccessRule::className()], 'rules' => [['actions' => ['buy', 'validatebuy', 'sell', 'index', 'trends', 'fund', 'transactions', 'unlock'], 'allow' => true, 'roles' => ['@']]]], 'verbs' => ['class' => VerbFilter::className(), 'actions' => ['logout' => ['post']]]]; }
public function behaviors() { return ['access' => ['class' => AccessControl::className(), 'ruleConfig' => ['class' => \frontend\components\AccessRule::className()], 'rules' => [['actions' => ['list', 'cashlist', 'charge', 'inlist', 'outlist', 'fund'], 'allow' => true, 'roles' => ['@']]]]]; }