We are currently checking quota against user profile upon upload - but it can happen that user X is uploading to project owned by user Y or organization Z ... in such case the enough_storage_available() function is giving wrong results.
If it is not possible to find out amount of storage left for other users through API, we can just disable this check if the upload is not towards a project owned by the user.
We are currently checking quota against user profile upon upload - but it can happen that user X is uploading to project owned by user Y or organization Z ... in such case the
enough_storage_available()function is giving wrong results.If it is not possible to find out amount of storage left for other users through API, we can just disable this check if the upload is not towards a project owned by the user.