Skip to content

feat(admin): add team folder management endpoints and UI integration - #2794

Open
Fin-c wants to merge 1 commit into
nextcloud:masterfrom
Dataport:feature/moveTeamFolder_into_adminsettings
Open

feat(admin): add team folder management endpoints and UI integration#2794
Fin-c wants to merge 1 commit into
nextcloud:masterfrom
Dataport:feature/moveTeamFolder_into_adminsettings

Conversation

@Fin-c

@Fin-c Fin-c commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Summary

moves team folder management into the Teams administration settings and adds a central overview of all teams and their linked team folders. Task #2781

TODO

  • ...

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI
Screenshot 2026-08-21 092837 Screenshot 2026-08-21 092911 Screenshot 2026-08-21 093322

Co-authored-by: Copilot <copilot@github.com> GPT-5.6 Terra

Signed-off-by: Fin Clausen <Fin.Clausen@dataport.de>
@Fin-c Fin-c added this to the Nextcloud 35 milestone Aug 21, 2026
@Fin-c Fin-c added this to 👥 Teams Aug 21, 2026
@github-project-automation github-project-automation Bot moved this to Backlog in 👥 Teams Aug 21, 2026
@codecov

codecov Bot commented Aug 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Comment thread src/teams/api.ts
Comment on lines +353 to +354
* Fetch existing team folders directly available to a team that can become
* its exclusive team folder.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Fetch existing team folders directly available to a team that can become
* its exclusive team folder.
* Fetch team folders that are not yet linked to a team.

Comment thread src/teams/api.ts
const { data } = await axios.post<OcsResponse<{ folderId: number, folder: TeamFolder }>>(
generateOcsUrl('apps/circles/teams/{circleId}/folder', { circleId: teamId }),
{},
{ name },
{ headers: HEADERS },

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OCS-APIRequest should not be needed in this context. Can you double check-that and remove it?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same would apply to all other requests.

Comment thread src/teams/api.ts
}

/**
* Make an eligible existing team folder the exclusive team folder.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Make an eligible existing team folder the exclusive team folder.
* Link a team to a team folder.

Comment thread src/teams/api.ts
*/
export async function updateTeamFolderQuota(folderId: number, quota: number): Promise<void> {
await axios.post(
generateUrl(`/apps/groupfolders/folders/${folderId}/quota`),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should not reach a groupfolder API from circles.

Comment thread src/teams/api.ts

try {
const { data: groupFoldersData } = await axios.get<OcsResponse<GroupFolderForCircle[]>>(
generateUrl(`/apps/groupfolders/circles/${encodeURIComponent(teamFolder.teamId)}/folders`),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should not reach a groupfolder API from circles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

2 participants