Skip to content

[stable32] Reflect public shares in isPublic flag and fix permission check - #56837

Merged
Altahrim merged 4 commits into
stable32from
backport/55147/stable32
Dec 4, 2025
Merged

[stable32] Reflect public shares in isPublic flag and fix permission check#56837
Altahrim merged 4 commits into
stable32from
backport/55147/stable32

Conversation

@backportbot

Copy link
Copy Markdown

Backport of PR #55147

@backportbot
backportbotBot requested a review from a team as a code ownerDecember 3, 2025 15:38
@backportbotbackportbotBot added bug 3. to review Waiting for reviews labels Dec 3, 2025
@backportbotbackportbotBot added this to the Nextcloud 32.0.3 milestone Dec 3, 2025
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
The isPublicShare was set to false in one instance where it should have
been true. Flipping the value to true, would break the functionality for
PROPFIND /public.php/webdav/ which returns properties of files in a
share identified by the username being the share token.
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
instanceof cannot be used to check the instance of a storage, doing so
breaks the check in certain cases. In this case, enabling the
`files_accesscontrol` app breaks the check.
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
@nextcloud-botnextcloud-bot mentioned this pull request Dec 4, 2025
1 task
@Altahrim
Altahrim merged commit 5b6f66a into stable32Dec 4, 2025
220 of 228 checks passed
@Altahrim
Altahrim deleted the backport/55147/stable32 branch December 4, 2025 14:55
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@Altahrim@CarlSchwan@salmart-dev