Global Quota Nextcloud Instance

Hi, I’m trying to assign a global quota limit to nextcloud.
For example, if a limit of 1GB is assigned, the sum of the quota of all users must not exceed 1GB, after which the upload will be rejected.
I can’t find how to do this.

Attention, I don’t want to stipulate a quota value for each particular user, but a global value.
Example: Global limit = 1GB,
user1 = 300MB
user2 = 500MB
user3 = 200MB
then the upload will be rejected for any user

This is currently not possible at the moment.

I had worked on the topic for ObjectStorage (on regular disk, the default instance quota is the free space available on the disk), but it needs more work :

someone knows where to find the class and method that calculate the quota by users ?