-
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
Feature Request: Disabling file uploads for specific users #2696
Comments
Hmm, does setting the storage to »0« actually set it to »nothing« or »unlimited«? @schiesbn? If it’s »unlimited«, it should probably be »nothing« instead, and the code for »unlimited« might be better »-1« or so. |
In other words: @farson2003 did you try setting the storage for that user to something low like 0, or 1? Does that solve your problem? |
@jancborchardt 0 seems to stand for default - when setting the quota to 0, then leaving and returning to the Users page, it gets set back to "Default".... which can be quite confusing, if there are some values with special meaning they should be set immediately I guess - that way the user at least has the chance to notice that some automatic changes are going on The lowest quota to be effective seems to be "1", i.e. 1 Byte... |
jancborchardt commented "did you try setting the storage for that user to something low like 0, or 1? Does that solve your problem?" YES: I tried 1, and in principle that would be a rather primitive solution. So this solution does work, but is not really elegant if we want to use it more professionally. What do you think? |
@farson2003 so what happens if you set it to 0? |
@jancborchardt |
Ok, I guess @schiesbn or @blizzz need to check this out. :) |
Indeed '0' was converted to 'default'. I changed the code to make it possible to set the user quota to zero. See Pull request #3244. @farson2003 With ownCloud5 the yellow message only appears if a user tries to upload a file, informing him that he doesn't have enough free space. I think that should be fine. |
allow to set quota to zero, issue #2696
I don't know if I must create a new issue or not. P.S: Sorry for my english, I'm french. And sorry if I haven't post in the right place, please redirect me. |
Some admins wish to share information with users. At the same time, admins may want to prevent users/groups from uploading any file.
This is a feature request. I do not need it urgently, but I can very well imagine many admins would wish such file upload restrictions for their users.
Please consider.
The text was updated successfully, but these errors were encountered: