El vie, 02-11-2007 a las 22:32 +0100, Philipp von Weitersehausen escribió:
> I think OrderedContainer is a base class for your own container types. I
> don't see a problem if it doesn't have security declarations.
I understand. Thanks for the aclaration.
> By the way, you probably want to split up your security declarations
> into read and write...
Oh, that's true indeed. It's a shame IOrderedContainer is defined as
inheriting from IContainer because I can't declare a permission for the
updateOrder method in an independent way. Something like: I want Public
permission for reading an ordered folder and I want ManageContent
permission for writing *and* changing the folder order.
Thanks for your answers Philipp!
Zope3-users mailing list