Skip to content
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

[stable26] fix(isLegitimatedForUserId): Setup mountpoints to check file access #41144

Merged
merged 2 commits into from
Oct 27, 2023

Conversation

backportbot-nextcloud[bot]
Copy link

Backport of #41082

@backportbot-nextcloud backportbot-nextcloud bot added this to the Nextcloud 26.0.8 milestone Oct 26, 2023
@mejo- mejo- changed the title [stable26] [stable27] fix(isLegitimatedForUserId): Setup mountpoints to check file access [stable26] fix(isLegitimatedForUserId): Setup mountpoints to check file access Oct 26, 2023
mejo- added 2 commits October 27, 2023 10:38
This fixes workflows on groupfolders, as it will consider access to
files in groupfolders.

It also fixes false positives where access to files was limited by other
means not taken into account before, e.g. access control.

For postDelete events, check for permissions of the parent folder
instead, as the file itself no longer exists.

Fixes: nextcloud/flow_notifications#71

Signed-off-by: Jonas <jonas@freesources.org>
@mejo- mejo- force-pushed the backport/41082/stable26 branch from ab0389a to ae554fd Compare October 27, 2023 08:38
@juliusknorr juliusknorr merged commit 8de0a1a into stable26 Oct 27, 2023
28 of 34 checks passed
@juliusknorr juliusknorr deleted the backport/41082/stable26 branch October 27, 2023 12:06
@blizzz blizzz mentioned this pull request Nov 13, 2023
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