Browse Source

Fixes #11330: Added note about RbacController namespace

tags/2.0.8
Jitendra Joshi 9 years ago committed by Alexander Makarov
parent
commit
80da506460
  1. 3
      docs/guide/security-authorization.md

3
docs/guide/security-authorization.md

@ -303,6 +303,9 @@ class RbacController extends Controller
}
```
> Note: If you are using advanced template, you need to put your `RbacController` inside `console/controllers` directory
and change namespace to `console/controllers`.
After executing the command with `yii rbac/init` we'll get the following hierarchy:
![Simple RBAC hierarchy](images/rbac-hierarchy-1.png "Simple RBAC hierarchy")

Loading…
Cancel
Save