Because of the storage size, my Moodle site has max bytes limitation for users, but users still have the requirement to handle with large files, so I tried to use google drive repository and set "Supported files" and "Default return type" to "External(only links stored in Moodle)", I think the file would not be copied to moodle, so no matter how large the file it should be can be imported to Moodle (only links stored in Moodle).
But, if the file on google drive the user choose exceeds the max bytes, Moodle will show the error "The file XXX is too large. The maximum size you can upload is XXXMB".
The question is: Is there any way to skip the check when using google drive repository? Or any code I can change to do with this?
Moodle version: 3.8.2+