Fix #20 Enhance the console command to create users so roles can be

assigned
This commit is contained in:
Antonio Ramirez
2017-10-15 19:18:55 +02:00
parent 2d35a5bfc1
commit 299ab1e4ea
27 changed files with 135 additions and 57 deletions

View File

@ -26,6 +26,7 @@ return [
'Awesome, almost there. Now you need to click the confirmation link sent to your new email address.' => '',
'Awesome, almost there. Now you need to click the confirmation link sent to your old email address.' => '',
'Cancel' => '',
'Cannot assign role "{0}" as the AuthManager is not configured on your console application.' => '',
'Class' => '',
'Close' => '',
'Create new rule' => '',
@ -38,6 +39,7 @@ return [
'Last login' => '',
'Never' => '',
'New rule' => '',
'Role "{0}" not found. Creating it.' => '',
'Rule class must extend "yii\\rbac\\Rule".' => '',
'Rule name {0} is already in use' => '',
'Rule {0} does not exists' => '',