add access control to backend

This commit is contained in:
2015-11-02 14:32:19 +01:00
parent e34b150d74
commit 1ee0a6bbe9
13 changed files with 106 additions and 11 deletions

View File

@@ -209,7 +209,9 @@ class User extends ActiveRecord implements IdentityInterface
public function attributeLabels(){
return [
'username' => Yii::t('backend/user', 'Username'),
'email' => Yii::t('backend/user', 'E-Mail'),
'created_at' => Yii::t('backend/user', 'Created at'),
];
}