Then set this configuration - the Upload_Validator configuration should still work in UploadField in forms but not in asset admin - asset admin should now allow up to 2MB uploads for all file types.
[x] All commits are relevant to the purpose of the PR (e.g. no debug statements, unrelated refactoring, or arbitrary linting)
Small amounts of additional linting are usually okay, but if it makes it hard to concentrate on the relevant changes, ask for the unrelated changes to be reverted, and submitted as a separate PR.
Description
This change is based on https://github.com/silverstripe/silverstripe-assets/pull/469#pullrequestreview-749727900 and aims to get the other work in a state it can be merged in
Manual testing steps
Set this configuration - it should be respected by asset admin when before it was not.
Then set this configuration - the
Upload_Validator
configuration should still work inUploadField
in forms but not in asset admin - asset admin should now allow up to 2MB uploads for all file types.Issues
Pull request checklist