Skip to content

[stable33] fix(OC_Helper): properly calculate quota of shared storages#60535

Open
backportbot[bot] wants to merge 1 commit into
stable33from
backport/60341/stable33
Open

[stable33] fix(OC_Helper): properly calculate quota of shared storages#60535
backportbot[bot] wants to merge 1 commit into
stable33from
backport/60341/stable33

Conversation

@backportbot
Copy link
Copy Markdown

@backportbot backportbot Bot commented May 19, 2026

Backport of #60341

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Review and verify the backported changes
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@backportbot backportbot Bot requested review from come-nc, provokateurin and susnux May 19, 2026 13:05
@backportbot backportbot Bot added bug 3. to review Waiting for reviews labels May 19, 2026
@backportbot backportbot Bot added this to the Nextcloud 33.0.4 milestone May 19, 2026
@susnux susnux force-pushed the backport/60341/stable33 branch from 23bc242 to f0d32c8 Compare May 19, 2026 13:18
@susnux susnux marked this pull request as ready for review May 19, 2026 13:18
@susnux susnux requested a review from a team as a code owner May 19, 2026 13:18
@susnux susnux requested review from CarlSchwan and leftybournes and removed request for a team May 19, 2026 13:18
Copy link
Copy Markdown
Contributor

@come-nc come-nc left a comment

Choose a reason for hiding this comment

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

Missing a use for ISharedStorage

- resolves #55659

First we need to properly handle shared storages,
because there the quota is the quota of the user who owns the nodes,
not the user who shared the nodes.

Second if no user can be fetched then we cannot get the global storage
info, thus in this case (public share?) we need to safe-guard.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux force-pushed the backport/60341/stable33 branch from f0d32c8 to 7a18c59 Compare May 19, 2026 17:03
@susnux susnux requested a review from come-nc May 19, 2026 17:03
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.

2 participants