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

fix: update parent etag when changing acl rules #3326

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

icewind1991
Copy link
Member

This ensures that sync clients can pickup on the fact that a user might have gained/lost access to a file.

It also updates the etag for users that don't have any changes, but it's better to be on the safe side here and figuring out which users are affected would add significant complexity.

@icewind1991 icewind1991 added the 3. to review Items that need to be reviewed label Oct 8, 2024
@icewind1991 icewind1991 added this to the Nextcloud 31 milestone Oct 8, 2024
@icewind1991 icewind1991 requested review from mgallien, a team, nfebe, yemkareems and come-nc and removed request for a team October 8, 2024 14:36
@come-nc
Copy link
Contributor

come-nc commented Oct 8, 2024

Maybe add a comment before the line to explain

@provokateurin
Copy link
Member

I think there was an issue about this problem but I can't find it anymore.

@provokateurin
Copy link
Member

Ah found it: nextcloud/desktop#7150

@mgallien
Copy link

tested with desktop client
works fine and allows it to detect changes in permissions when files themselves do not change
thanks @icewind1991

@provokateurin provokateurin merged commit db534ba into master Oct 10, 2024
41 checks passed
@provokateurin provokateurin deleted the acl-etag-change branch October 10, 2024 07:35
@provokateurin
Copy link
Member

/backport to stable30

@provokateurin
Copy link
Member

/backport to stable29

@provokateurin
Copy link
Member

/backport to stable28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Items that need to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants