Safety note on DataObject::$validation_enabled

This commit is contained in:
Ingo Schommer 2013-09-12 15:27:23 +02:00
parent 091c096dbf
commit cb517fda9e

View File

@ -141,6 +141,9 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
/** /**
* @config * @config
* @var boolean Should dataobjects be validated before they are written? * @var boolean Should dataobjects be validated before they are written?
* Caution: Validation can contain safeguards against invalid/malicious data,
* and check permission levels (e.g. on {@link Group}). Therefore it is recommended
* to only disable validation for very specific use cases.
*/ */
private static $validation_enabled = true; private static $validation_enabled = true;