Fixes #6554: clarified docs about AccessRule::$roles

This commit is contained in:
Alexander Makarov
2014-12-26 23:33:42 +03:00
parent 90c7a9c2a2
commit c76ad1ce0c

View File

@ -42,8 +42,8 @@ class AccessRule extends Component
* - `?`: matches a guest user (not authenticated yet) * - `?`: matches a guest user (not authenticated yet)
* - `@`: matches an authenticated user * - `@`: matches an authenticated user
* *
* Using other role names requires RBAC (Role-Based Access Control), and * Alternatively RBAC (Role-Based Access Control) premission name could be specified. In this case
* [[User::can()]] will be called. * [[User::can()]] will be called in order to check access.
* *
* If this property is not set or empty, it means this rule applies to all roles. * If this property is not set or empty, it means this rule applies to all roles.
*/ */