Hi Roger,

The Coder can choose to do either of those things, but creating those low-level Permissions flags (an intermediate step) is entirely optional.  See my reply to Patrick.

I am just as likely to do this:

<cfset groupsThatCanRead = "Web Unit, WWR-users, contractors">
...
<cfif isMember(groupsThatCanReadArticles)>
  Read articles
</cfif>

Thanks,
LeeBB

----- Original Message -----

From: Roger B.


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>

==^================================================================
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