def getField(self, key, wrapped=False): field = super(SignupSheet, self).getField(key) if not field: field = DummyExposedPersonSchema.get(key) if field: field.writeable = lambda context: True field.checkPermission = lambda mode, instance: True return field
def getExposedFields(self): '''Return the fields that should be publicly exposed to the user''' return DummyExposedPersonSchema.fields()