silverstripe-userforms/_config/secureassets.yml

16 lines
362 B
YAML

---
Name: userformssecurity
Only:
ModuleExists: secureassets
---
SilverStripe\UserForms\Model\EditableFormField\EditableFileField:
extensions:
- SilverStripe\UserForms\Extension\SecureEditableFileField
---
Name: userformsnosecurity
Except:
ModuleExists: secureassets
---
SilverStripe\UserForms\Model\EditableFormField\EditableFileField:
hidden: true