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

show unlimited quota / respect quota.definition: none #6913

Closed
kulmann opened this issue May 9, 2022 · 0 comments · Fixed by #6923 or #7044
Closed

show unlimited quota / respect quota.definition: none #6913

kulmann opened this issue May 9, 2022 · 0 comments · Fixed by #6923 or #7044
Labels
Priority:p3-medium Normal priority Type:Bug Something isn't working

Comments

@kulmann
Copy link
Contributor

kulmann commented May 9, 2022

Steps to reproduce

  1. login to oc10 classic ui as admin
  2. set unlimited quota for a user or self
  3. switch to new web ui
  4. open user menu (click on user name, top right)

Expected behaviour

Personal quota information shows the used space + that the quota is unlimited

Actual behaviour

Personal quota information shows everything as if a quota was set, but with the free disk space as quota.

Spec

the user.quota.definition field is set to none with both oc10 and ocis as backend for unlimited quota. In that case the total, free and relative fields should be ignored as they don't make sense.

bonus points

  • don't fail hard when user.quota doesn't exist
  • don't fail hard when fields of user.quota don't exist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:p3-medium Normal priority Type:Bug Something isn't working
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant