from AccessControl import ClassSecurityInfo from Products.Archetypes.atapi import * import Products..config from appy.gen.plone25.mixins.UserMixin import UserMixin from Extensions.appyWrappers import schema = Schema(( ),) fullSchema = BaseSchema.copy() + schema.copy() class User(BaseContent, UserMixin): '''Configuration flavour class for .''' security = ClassSecurityInfo() __implements__ = (getattr(BaseContent,'__implements__',()),) archetype_name = 'User' meta_type = 'User' portal_type = 'User' allowed_content_types = [] filter_content_types = 0 global_allow = 1 immediate_view = 'skyn/view' default_view = 'skyn/view' suppl_views = () typeDescription = "User" typeDescMsgId = 'User_edit_descr' i18nDomain = '' schema = fullSchema wrapperClass = for elem in dir(UserMixin): if not elem.startswith('__'): security.declarePublic(elem) registerType(User, '')