Files
gitea/docs
silverwindandwxiaoguang 489e3b9395 fix(org): clean up repositories and access when deleting an all-repositories team (#40158)
Deleting a team that includes all repositories kept its `team_repo` and
`access` rows, so former members kept their access to the team's
repositories. `DeleteTeam` relied on `RemoveAllRepositoriesFromTeam`,
which skipped such teams.

`RemoveAllRepositoriesFromTeam` now always removes the team's
repositories, and the "remove all" action uses the new
`RemoveSpecifiedRepositoriesFromTeam`, which keeps the guard.

Regression of https://github.com/go-gitea/gitea/pull/19158

Assisted-by: Claude Code:claude-opus-5-5

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-11-28 08:47:28 +00:00
..