[Zope-CMF] Forcing skins by role

alan runyan alan runyan" <runyaga@runyaga.com
Sun, 25 Aug 2002 03:15:08 -0500


> I like the recent proposal to provide an "authentication" hook:
>
>   It could provide application specific setup after authentication
>   as necessary.

yes.  I think this would be a huge plus.

>   Customization of the User Folder would be one way to get such a
>   hook. But, more flexible (although slower at runtime) would
>   be to have specialized objects for this purpose.
>   ZPublisher could look after authentication
>   for these objects in the same way, it now looks for "acl_users",
>   and call the first it finds.

I havent dug too deep into how ZPublisher works, yet.  I hope Zope3 will
come out
before I need to do very magical things w/ ZPublisher.  But I think this
sounds reasonable.
a 'post authentication'/'pre view rendering' hook would be ideal.  is this
what 'authentication' hook
would be ?  onAuthentication?  just making sure.  if it is again, I will
reiterate... this would be
an enormous plus.

~runyaga