'rules' => [
[
'actions' => ['index', 'error'],
'allow' => true,
],
[
'actions' => ['recovery-password'],
'allow' => true,
'roles' => ['?'],
],
[
'actions' => ['login'],
'allow' => true,
'roles' => ['?'],
],
[
'actions' => ['logout'],
'allow' => true,
'roles' => ['@'],
],
],