Skip to content

[WIP] allow every with direct access to a shared file to modify all shares for the file - #63036

Draft
icewind1991 wants to merge 1 commit into
masterfrom
unified-sharing-native-owner
Draft

[WIP] allow every with direct access to a shared file to modify all shares for the file#63036
icewind1991 wants to merge 1 commit into
masterfrom
unified-sharing-native-owner

Conversation

@icewind1991

@icewind1991 icewind1991 commented Aug 7, 2026

Copy link
Copy Markdown
Member

Summary

Allow all users that have direct (not through a share) access, and share permissions to a file access to see and modify all shares for that file, even ones created by other users.

This mirrors the existing logic around IShareOwnerlessMount, but makes the behavior work automatically instead of mounts having to opt-in. Afaik this is equivilent since all mounts I'm aware of that this behavior would trigger for (external storage, groupfolders) opt-in to IShareOwnerlessMount.

We can still change this behavior to require the opt-in from mounts if needed.

  • Return shares owned by others when listing shares for a specific file
  • Allow modifications to the returned shares

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991 icewind1991 added this to the Nextcloud 35 milestone Aug 7, 2026
@icewind1991 icewind1991 added the 2. developing Work in progress label Aug 7, 2026
@icewind1991 icewind1991 changed the title [WIP] allow a [WIP] allow every with direct access to a shared file to modify all shares for the file Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2. developing Work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant