From 183fdd0dfce8dbff9f3b917fab9a8f9b59dd5e0d Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 16 Sep 2006 19:16:14 +0000 Subject: Fixed #379 --- framework/Security/TAuthorizationRule.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'framework/Security') diff --git a/framework/Security/TAuthorizationRule.php b/framework/Security/TAuthorizationRule.php index b2f3c235..99684de0 100644 --- a/framework/Security/TAuthorizationRule.php +++ b/framework/Security/TAuthorizationRule.php @@ -77,7 +77,10 @@ class TAuthorizationRule extends TComponent if(($user=trim(strtolower($user)))!=='') { if($user==='*') + { $this->_everyone=true; + break; + } else if($user==='?') $this->_guest=true; else -- cgit v1.2.3