Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
systems:yii2:role_based_access_control_rbac [2018/02/23 11:59]
smayr [Role Based Access Control]
systems:yii2:role_based_access_control_rbac [2018/04/16 17:51] (current)
smayr [Configuration]
Line 1: Line 1:
-= Yii 2.0 Role Based Access Control =+= Yii 2 Role Based Access Control =
  
 == Configuration == == Configuration ==
-Enable RBAC in ''common/config/main.php'', by adding component ''authManager'' and assigning one of these authorization managers: ''PhpManager'' or ''DbManager''.+Enable RBAC in ''common/config/main.php'' (''app/config/console.php'' and ''app/config/test.php'' as well), by adding component ''authManager'' and assigning one of these authorization managers: ''PhpManager'' or ''DbManager''.
  
 === PhpManager === === PhpManager ===