interface euphorie.content.fti.IConstructionFilter

Extra object creation checks.

This is used by ConditionalDexterityFTI as a named multi-adapter, adapting the FTI and the container using the name of the portal_type.

class euphorie.content.fti.ConditionalDexterityFTI(*args, **kwargs)

Special FTI which supports configurable object creation constrains.

CMF calls to isConstructionAllowed method of the FTI to determine of an object of a type can be constructed. In euphorie we have some restrictions that only hold for a specific portal type, so we need an extension point that can configured per portal type. This is done by introducing a new IConstructionFilter named adapter.

Previous topic


Next topic


This Page