17 Mar
2002
17 Mar
'02
10:48 a.m.
Just trying to test the new (?) policy for writing more how-tos and summarized text for the community and see the right way to do it ;-
Please find a small how-to summarizing the solution gave by Olivier Bleutgen. http://www.zope.org/Members/dgeorgieff/howto_precondition Hope this is the right way for doing it. Didier.
- I have a subclassed file (with some more properties like 'approved') - I want to use the precondition to check if the file is approved before allowing the donwload The precondition method aquire the property ('approved') from the container (folder) and __not__ from the file.