summaryrefslogtreecommitdiff
path: root/framework/Security
diff options
context:
space:
mode:
authorxue <>2006-09-16 19:16:14 +0000
committerxue <>2006-09-16 19:16:14 +0000
commit183fdd0dfce8dbff9f3b917fab9a8f9b59dd5e0d (patch)
tree1194edfda09415dc2423464439f501f6d4a23429 /framework/Security
parente9396e0441daa00fb1287ab9fdccdc5efd07934a (diff)
Fixed #379
Diffstat (limited to 'framework/Security')
-rw-r--r--framework/Security/TAuthorizationRule.php3
1 files changed, 3 insertions, 0 deletions
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