-
Notifications
You must be signed in to change notification settings - Fork 196
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
Exceeding quota after ocis_max_size_quota
set gives 500 status code
#6414
Comments
You cannot create space with certain quota in the real life (first we create space with default quota) my settings: |
From UI it might not be possible but giving |
I don't understand the sentence. IMO it is possible to send an API request to create a space, specifying a quota that is too large, and a Even if the web UI does not make a request like that, some other client might one day. Any API request that can result in a |
I would suggest another expected result, like when we set a quota higher than the max quota
|
The related issue #5050 |
Description
Configuring and running ocis with env
OCIS_SPACES_MAX_QUOTA
, when a space is created exceeding the quota. The status code is500
.Steps to reproduce:
OCIS_SPACES_MAX_QUOTA=50
51
.curl command to create space with quota with
admin
user:Expected Behaviour:
The status code should be
507
insufficient storage.Actual Behaviour
The text was updated successfully, but these errors were encountered: