John DeStefano wrote:
Is there an archetypes property to compliment 'global_allow' that would help restrict the locations within a site in which a content type can be created? Setting 'global_allow = 0' ensures that a content type cannot be created just anywhere. But is there another property that can be used to specify an allowed *location* (*not* a separate, containing type) for the content type?
Sure - you typically use a custom add permission and assign it in the relevant location, or you can rely on the IContrainTypes interface from Products.ATContentTypes.
Martin -- Author of `Professional Plone Development`, a book for developers who want to work with Plone. See http://martinaspeli.net/plone-book _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
