Storage limit can be updated anytime but one can still upload the file after reducing limit

Description of the bug:

I created an arcana app with unlimited bandwidth and storage. Uploaded a few files and then switched the limit to 2 MB. After that, I tried uploading files again and was able to do so.
Either we should not allow setting up the storage to a limit like that or should not allow further uploads.

Category/Feature it belongs to:


Detailed Steps to Reproduce:

  1. Upload a few files with an unlimited limit
  2. Update storage limit to a lesser value than what has been already uploaded. In my case, I already uploaded files of about 11 MB and then updated the storage limit to 2 MB.
  3. try uploading one more file again

Browser Version:

Google chrome
Version 96.0.4664.55 (Official Build) (arm64)

Supporting Material (Screenshot/Video/Logs):

Thanks for integrating and testing out the Arcana platform! Unfortunately the underlying reason the upload seems to be going through is because of an earlier reported issue When I try to upload a file where user limit = 3 mb and file > 3mb then refresh the page in the middle the file gets uploaded and therefore is a duplicate.