Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spaces quota should show the quota which has been actually set #3233

Closed
AlexAndBear opened this issue Feb 24, 2022 · 7 comments
Closed

Spaces quota should show the quota which has been actually set #3233

AlexAndBear opened this issue Feb 24, 2022 · 7 comments

Comments

@AlexAndBear
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Currently, the spaces API returns the field total which represents the set quota,
if the set quota is higher then the available hard drive space total will show the available hard drive space.
The information on which quota has been actually set is not available anymore.

Describe the solution you'd like

Introduce a new field that will represent the actual set quota value

@AlexAndBear
Copy link
Contributor Author

@C0rby @micbar FYI

@micbar
Copy link
Contributor

micbar commented Feb 24, 2022

See owncloud/libre-graph-api#32

@C0rby
Copy link
Contributor

C0rby commented Mar 23, 2022

@janackermann, does this help you for this case? #3368

@AlexAndBear
Copy link
Contributor Author

@C0rby yes

@C0rby
Copy link
Contributor

C0rby commented Mar 23, 2022

@janackermann, I updated the code and comment here: #3368
Basically a quota of 0 means unlimited. This way if you set 0 when updating the quota of a space you unrestrict it.

@AlexAndBear
Copy link
Contributor Author

THX, will start implementing approx next week

@C0rby
Copy link
Contributor

C0rby commented Mar 30, 2022

The total now always shows the set quota or it's omitted if no quota was set.

@C0rby C0rby closed this as completed Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants