die-wegmeister / Wegmeister.DatabaseStorage

A Neos CMS plugin to store data into Database and export it as xlsx (and other table formats). Also compatible with the Neos FormBuilder (https://github.com/neos/form-builder).
GNU General Public License v3.0
5 stars 7 forks source link

Exclude form elements from export #7

Closed Benjamin-K closed 2 years ago

Benjamin-K commented 6 years ago

Some form elements should not be included in the storage. Form elements that should not be included as they do not change the entry or contain sensitive data:

Starting point: https://github.com/beardcoder/Wegmeister.DatabaseStorage/commit/2a271b40eea9231e63d7f02f9041db5d4acb27c3

lorenzulrich commented 2 years ago

We could debate if nodeTypesIgnoredInExport should already be applied in the Finisher, so such values are not even saved (certainly intersting for Password fields, if anyone uses this with DatabaseStorage). My implementation in #25 applies this on export.

Benjamin-K commented 2 years ago

I think both would be a great improvement. But especially for password fields, not even storing them should be the preferred way. So maybe we can add both options and add a nodeTypesIgnoredFromStorage setting.

I can even think of a third setting for fields that should be optionally included in the export, sth. like optionalNodeTypesInExport (for example HiddenFields sometimes should be included, sometimes not). But this could also be added as a new feature.

Benjamin-K commented 2 years ago

Fixed with #25.