diff options
author | xue <> | 2007-10-02 13:38:13 +0000 |
---|---|---|
committer | xue <> | 2007-10-02 13:38:13 +0000 |
commit | 33bfc4e18d51ba7cb459efa6c3d2902cc34d6514 (patch) | |
tree | 0c0e689b363506f378a5933b00f40de2a5c9a564 | |
parent | c07bcf6044e553deca6282cd9f4c5c85e119aa05 (diff) |
fixed typo.
-rw-r--r-- | framework/Security/TAuthorizationRule.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Security/TAuthorizationRule.php b/framework/Security/TAuthorizationRule.php index bdc0e902..d16ad93b 100644 --- a/framework/Security/TAuthorizationRule.php +++ b/framework/Security/TAuthorizationRule.php @@ -223,7 +223,7 @@ class TAuthorizationRule extends TComponent private function isUserMatched($user)
{
- return ($this->_everyone || ($this->_guest && $user->getIsGuest()) || ($this->_authenticated && !$user->getIsGuest()));
+ return ($this->_everyone || ($this->_guest && $user->getIsGuest()) || ($this->_authenticated && !$user->getIsGuest()) || in_array(strtolower($user->getName()),$this->_users));
}
private function isRoleMatched($user)
|