From 183fdd0dfce8dbff9f3b917fab9a8f9b59dd5e0d Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 16 Sep 2006 19:16:14 +0000 Subject: Fixed #379 --- HISTORY | 3 ++- buildscripts/texbuilder/quickstart.tex | 2 +- framework/Security/TAuthorizationRule.php | 3 +++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/HISTORY b/HISTORY index 8ec9eacc..b3362e2d 100644 --- a/HISTORY +++ b/HISTORY @@ -1,9 +1,10 @@ Version 3.0.5 October 8, 2006 =============================== CHG: Ticket#358 - TFileUpload::saveAs() now returns false instead of exception when error (Qiang) -ENH: Easier to customize the TDatePicker using CssClass (Wei) ENH: Ticket#361 - Introduced include template tag that supports including external templates (Qiang) ENH: Ticket#366 - white spaces are now allowed around attribute names in template (Qiang) +ENH: Ticket#379 - TAuthorizationRule performance enhancement (Qiang) +ENH: Easier to customize the TDatePicker using CssClass (Wei) NEW: TLiteralColumn (Qiang) Version 3.0.4 September 4, 2006 diff --git a/buildscripts/texbuilder/quickstart.tex b/buildscripts/texbuilder/quickstart.tex index 4f59b57b..8a7d017e 100644 --- a/buildscripts/texbuilder/quickstart.tex +++ b/buildscripts/texbuilder/quickstart.tex @@ -44,7 +44,7 @@ %----------------- TITLE -------------- -\title{\Huge \bfseries PRADO v3.0.3 Quickstart Tutorial +\title{\Huge \bfseries PRADO v3.0.5 Quickstart Tutorial \thanks{Copyright 2005-2006. All Rights Reserved.} } \author{Qiang Xue and Wei Zhuo} 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