add rbac roles, and and admin role to admin user

This commit is contained in:
2015-09-19 21:25:41 +02:00
parent 5b35d4daea
commit 381aea4f2b
4 changed files with 182 additions and 0 deletions

View File

@@ -15,5 +15,17 @@ return [
],
],
],
'formatter' => [
'class' => 'yii\i18n\Formatter',
'dateFormat' => 'yyyy.MM.dd',
'datetimeFormat' => 'yyyy.MM.dd HH:mm',
'locale' => 'hu-Hu',
'timeZone' => 'UTC',
'defaultTimeZone' => 'UTC' ,
'nullDisplay' => "-",
],
'authManager' => [
'class' => 'yii\rbac\DbManager'
],
],
];