Skip to content

Conversation

@juliusknorr
Copy link
Member

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.

image

@juliusknorr juliusknorr added bug 3. to review Waiting for reviews labels May 28, 2019
@juliusknorr juliusknorr added this to the Nextcloud 17 milestone May 28, 2019
@ChristophWurst
Copy link
Member

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.

@juliusknorr
Copy link
Member Author

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.

Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works 👍

@MorrisJobke MorrisJobke merged commit 64fb083 into master May 28, 2019
@MorrisJobke MorrisJobke deleted the bugfix/0b-quota-create branch May 28, 2019 12:27
@juliusknorr
Copy link
Member Author

/backport to stable16

@juliusknorr
Copy link
Member Author

/backport to stable15

@backportbot-nextcloud
Copy link

backport to stable15 in #15855

@juliusknorr
Copy link
Member Author

/backport to stable16

@backportbot-nextcloud
Copy link

backport to stable16 in #15856

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants