From c76ad1ce0c4ae48e458ea035d8864e9ead4d088e Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Fri, 26 Dec 2014 23:33:42 +0300 Subject: [PATCH] Fixes #6554: clarified docs about AccessRule::$roles --- framework/filters/AccessRule.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/filters/AccessRule.php b/framework/filters/AccessRule.php index 336435d4c8..abcc33e54e 100644 --- a/framework/filters/AccessRule.php +++ b/framework/filters/AccessRule.php @@ -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. */