Commit c76ad1ce by Alexander Makarov

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

parent 90c7a9c2
......@@ -42,8 +42,8 @@ class AccessRule extends Component
* - `?`: matches a guest user (not authenticated yet)
* - `@`: matches an authenticated user
*
* Using other role names requires RBAC (Role-Based Access Control), and
* [[User::can()]] will be called.
* Alternatively RBAC (Role-Based Access Control) premission name could be specified. In this case
* [[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.
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment