-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
unable to set 0 bytes quota on an user via provisioning api #19811
Comments
@tomneedham @MTRichards @karlitschek might need API design change. |
Yeah, default should be |
This will require a change of API... version 2 ? 😦 @DeepDiver1975 |
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
Turns out that when submitting 0 or 0MB via the provisioning api it will be used as 0 bytes. The quota will be set to 0. As far as I can tell this behavior exists since at least this change 15d1341 I propose to add magic values named default and none instead of any number magic. @PVince81 objections? |
looks like it was working this way (as described in the ticket) back in oc8 - dc85c20#diff-d63ef796ade5860b68adcc00dc5639a6R163 |
I'm fine to go with the "default" and "none" strings |
or instead of "none" make that "unlimited" |
|
none is in the code base for the very first day... let's stick to it |
…gic values. Any numeric number will be interpreted as a true value.
…gic values. Any numeric number will be interpreted as a true value.
…gic values. Any numeric number will be interpreted as a true value.
fixes #19811 - only use existing key words 'default' and 'none' as ma…
fixed through #30755 (review) |
…gic values. Any numeric number will be interpreted as a true value.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
It's not set the quota of an user to 0 bytes.
0 oder 0B or 0MB are always converted to 0. This is reserved as "default".
We would like to assigne 0 bytes for read-only users.
Tested on ownCloud 8.1.1, but I think there are no changes in 8.1.3.
The text was updated successfully, but these errors were encountered: