-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Hide newFile menu if quota is set to 0B #15767
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
Conversation
Signed-off-by: Julius Härtl <[email protected]>
|
Isn't the text misleading? Not enough quote is not the same as no permissions. You could still have permission to create, but the quote doesn't allow it. |
Yes, but on the other hand the 0B quota workaround is always used to block users from uploading files to their home, so the permission-wording made sense from my perspective. I tried to keep the changes as minimal as possible so we can backport this easier. |
ChristophWurst
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
MorrisJobke
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works 👍
|
/backport to stable16 |
|
/backport to stable15 |
|
backport to stable15 in #15855 |
|
/backport to stable16 |
|
backport to stable16 in #15856 |
Hide the add new file button if 0B quota is configured for a user.
The button will be shown again, once the user enters a folder that has a different quota on the mount, e.g. inside of shared folders with write permissions.