Where Lee and I disagree is that Lee doesn't see any distinction between
isArticleReader and the set of permissions, hasReadArticlePermission and
hasSearchArticlePermission. In Lee's model, there are no such things as
independent permissions. Lest I misrepresent it, here are Lee's words:
"What's a Permission? Show me one? It's a very abstract little beastie.
Too abstract for me."

-----Original Message-----
From: Roger B. [mailto:[EMAIL PROTECTED]] 
Sent: Friday, April 05, 2002 10:29 AM
To: [EMAIL PROTECTED]
Subject: RE: secure tag and permissions



Patrick McElhaney wrote:
> That is, instead of
> <cfif hasReadArticlePermission>Read this article</cfif>
> <cfif hasSearchArticlePermission>Search this article</cfif>
> 
> this works okay for you:
> <cfif isArticleReader>
>   Read this article
>   Search this article
> </cfif>

Now you have me wondering if I've been reading Lee all wrong... I never 
even considered that his thinking might be along those lines. Instead, I

figured he was thinking:

<cfif isArticleReader>
     <cfset hasReadArticlePermission = true>
     <cfset hasSearchArticlePermissioon = true>
</cfif>

<cfif hasReadArticlePermission>Read this article</cfif>
<cfif hasSearchArticlePermission>Search this article</cfif>

--
Roger

==^================================================================
This email was sent to: [email protected]

EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9
Or send an email to: [EMAIL PROTECTED]

T O P I C A -- Register now to manage your mail!
http://www.topica.com/partner/tag02/register
==^================================================================



Reply via email to