O'Reilly logo
  • Ruben Leon thinks this is interesting:

Now run rbac/test once to check access to all the created permissions of the RBAC hierarchy:

From

Cover of Yii2 Application Development Cookbook - Third Edition

Note

Don't forget to enable clean urls in config/web.php like this:
'urlManager' => [
'enablePrettyUrl' => true,
'showScriptName' => false,
'rules' => [
],
],

Then navigate to http://someserver/rbac/test