[Zope-CMF] Idea relating to skins

Shane Hathaway shane@digicool.com
Mon, 25 Jun 2001 14:10:23 -0400


seb bacon wrote:
> 
> I think this is an excellent idea.

I think so too.  At least for the near term.

> While we're on the subject, I've been thinking it would be nice to
> restrict users access to skins based on role / permissions.

Like I explained to Chris, figuring out skins happens before
authentication.  But as I was explaining it, a wacky thought occurred to
me that would make it possible after all to have authenticated skins: in
__getattr__(), which is not wrapped, get the REQUEST from the "user"
attribute in the security context.

I'd still rather wait to see what unfolds in the NewReligion because it
will probably solve this problem in a much nicer way.

Shane

> * Chris Withers <chrisw@nipltd.com> [010625 17:58]:
> > Anyway, what if, as well as layers, you could specify other skins in skin
> > definitions?