Hello, we'd like a configuration option to cap the maximum file size, as we don't want to host 180+ MB files (as some users have uploaded in the past ^^;).
Additionally, @valerio.bozzolan has suggested that there be a way to exempt users in certain projects (such as Trusted Contributors) from the size limit.
Ideas for the config name and a small description:
- files.maximum-file-size: The maximum file size that is allowed to be uploaded. This limit is ignored for users in any of the projects listed in files.ignore-file-size-projects
- files.ignore-file-size-projects: An array of PHIDs to projects where users in any of the specified projects can ignore files.maximum-file-size
(Downstream task: https://issue-tracker.miraheze.org/T10537)