That's the facts, Jack!

My conceptual model includes:

  • People
  • Groups (both application-independent "social groups"and application-specific "roles")
  • Business Rules
That's all there is in my authentication/authorisation/customisation world view.  I could add another element called a Permission, but to me a Permission is simply the result of applying Business Rules to the Groups.  What I usually do, though, is apply the Business Rules to the Groups as and when required, without actually storing the result away in some data construct called a Permission.  I can do that, and sometimes do, but it's a coding decision, not a conceptual issue.
 
A more fundamental distinction with Hal's world view, though, is that I simply do not allow Business Rules to act directly on People (as opposed to Groups).  Nor have I ever been approached by a client who has ever proposed a Business Rule that applies directly to a particular Person.
 
I won't try quoting Hal - the courts are over-worked enough already.
 
Thanks all,
LeeBB
 
 

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

From: hal helms
 

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]]
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