[Zope3-dev] RFC: Rename "principal" to "participant"
Roger Ineichen
dev at projekt01.ch
Tue Sep 13 14:03:43 EDT 2005
Hi Shane
> -----Original Message-----
> From: zope3-dev-bounces+dev=projekt01.ch at zope.org
> [mailto:zope3-dev-bounces+dev=projekt01.ch at zope.org] On
> Behalf Of Shane Hathaway
> Sent: Tuesday, September 13, 2005 7:34 PM
> To: Steve Alexander
> Cc: zope3-dev at lists.zope.org
> Subject: Re: [Zope3-dev] RFC: Rename "principal" to "participant"
>
> Steve Alexander wrote:
> > In Launchpad, request.principal is not used by the application
> > programmers. It is used only by the authentication,
> authorization and
> > publication machinery. The machinery looks up a Person (an
> application
> > domain object) for the current principal (the participant,
> if you will)
> > and makes this available to application code. So, application code
> > deals with an application-level object, not some security
> system construct.
>
> It sounds like you're saying only the security machinery should know
> about principals, and that everything else deals with users.
> If so, it
> should not be necessary for any Zope 3 developer to learn about
> principals unless they are writing security machinery. Is that right?
I think so too. But I whould not try to explain a PAU (pluggable
authentication utility) without to use the word principal. I think
using the words user or participant for a principal in this case is
not a good idea.
Regards
Roger Ineichen
Projekt01 GmbH
www.projekt01.ch
_____________________________
END OF MESSAGE
> Shane
> _______________________________________________
> Zope3-dev mailing list
> Zope3-dev at zope.org
> Unsub:
> http://mail.zope.org/mailman/options/zope3-dev/dev%40projekt01.ch
>
>
More information about the Zope3-dev
mailing list