Skip to content

Navigation Menu

Sign in
Sign up

feat(teamspace): resolve teams for files inside a team folder - #5035

Draft
pringelmann wants to merge 1 commit into
master from
feat/team-folder-teams-reverse-lookup
Draft

feat(teamspace): resolve teams for files inside a team folder #5035
pringelmann wants to merge 1 commit into
master from
feat/team-folder-teams-reverse-lookup

Conversation

@pringelmann

@pringelmann pringelmann commented Aug 20, 2026
edited
Loading

Copy link
Copy Markdown

Open a team folder in Files and the sidebar shows no team. Same for files inside it. The sidebar asks the files provider, which finds teams from share rows, and a team folder arrives as a mount so there is never a row.

TeamSpaceProvider now implements ITeamFileResolver from nextcloud/server#63444. Given a file id it looks up the mount the file lives in and the group folder behind it, then returns that folder's teams. getTeamsForResource, which returned nothing before, now answers for a folder id, which is what the Teams UI sends.

Tested at the mount root, two levels deep, on a team-shared folder, and on an unrelated file:

image

Depends on nextcloud/server#63444. CI fails until that merges and nextcloud/ocp syncs.

pringelmann force-pushed the feat/team-folder-teams-reverse-lookup branch from c403272 to 7b378cf Compare August 21, 2026 09:04
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
pringelmann force-pushed the feat/team-folder-teams-reverse-lookup branch from 7b378cf to 3fa9325 Compare August 21, 2026 09:29
pringelmann marked this pull request as ready for review August 21, 2026 16:00
pringelmann marked this pull request as draft August 21, 2026 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /