mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 13:58:55 +08:00
Fixes #6554: clarified docs about AccessRule::$roles
This commit is contained in:
@ -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.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user