[Zope-CMF] Security on Skins
Chris Withers
chrisw@nipltd.com
Wed, 12 Sep 2001 08:27:20 +0100
Dieter Maurer wrote:
>
>
> > So, can anyone think of a way to do this without patching DirectoryView.py?
> I would expect, it skips files it does not understand.
> Exactly what is necessary....
...well, kinda
> > Amusingly, this will probably happen naturally given that .security will be
> > listed after .dtml, .css, and .pt (but sadly not after .zsql, where I need it
> > :-S)
> I think, that is not a serious problem.
>
> Just skip the security files during folder scanning.
> When you process your object, you look around whether
> it has an associated security file and apply its content.
But won't that mean monkey-patching all the CMF content base classes? That's
even worse than patching DirectoryView.py...
cheers,
Chris