Skip to content

fix: hide upload button if user has no quota - #7672

Merged
grnd-alt merged 1 commit into
mainfrom
userHasQuotaButton
Feb 23, 2026
Merged

grnd-alt merged 1 commit into
mainfrom
userHasQuotaButton

Conversation

@solracsf

@solracsf solracsf commented Feb 21, 2026 •

Copy link
Copy Markdown
Member

Summary

If user has no quota, don't show the option as it will only lead to an error.
0 B quota can be defined exactly to restrict uploads.

Similar to https://github.com/nextcloud/server/blob/0a6831085994b9d388fb79805df8fed2a5597abe/apps/files_sharing/src/files_views/shares.ts#L62-L64

Checklist

  • Code is properly formatted
  • Sign-off message is added to all commits
  • Tests (unit, integration, api and/or acceptance) are included
  • Documentation (manuals or wiki) has been updated or is not required

@solracsf solracsf changed the title fix: show upload button is user has quota fix: show upload button if user has quota to upload Feb 21, 2026
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
@solracsf solracsf changed the title fix: show upload button if user has quota to upload fix: hide upload button if user has no quota Feb 22, 2026
@grnd-alt
grnd-alt merged commit 17fa243 into main Feb 23, 2026
36 checks passed
@grnd-alt
grnd-alt deleted the userHasQuotaButton branch February 23, 2026 09:37
@solracsf

solracsf commented Feb 23, 2026 •

Copy link
Copy Markdown
Member Author

@grnd-alt can we backport this?

@grnd-alt

Copy link
Copy Markdown
Member

@grnd-alt can we backport this?

Sure go ahead!

@solracsf

Copy link
Copy Markdown
Member Author

/backport to stable33

@solracsf

Copy link
Copy Markdown
Member Author

/backport to stable32

@solracsf

Copy link
Copy Markdown
Member Author

/backport to stable31

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants