mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 21:41:19 +08:00
minor rewording [skip ci]
This commit is contained in:
@ -42,8 +42,8 @@ class AccessRule extends Component
|
||||
* - `?`: matches a guest user (not authenticated yet)
|
||||
* - `@`: matches an authenticated user
|
||||
*
|
||||
* 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 you are using RBAC (Role-Based Access Control), you may also specify role or permission names.
|
||||
* In this case, [[User::can()]] will be called to check access.
|
||||
*
|
||||
* If this property is not set or empty, it means this rule applies to all roles.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user