You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/modules/doctor
zeripath 4707d4b8a9
Nicely handle missing user in collaborations (#17049) (#17166)
Backport #17049

It is possible to have a collaboration in a repository which refers to a no-longer
existing user. This causes the repository transfer to fail with an unusual error.

This PR makes `repo.getCollaborators()` nicely handle the missing user by ghosting
the collaboration but also adds consistency check. It also adds an
Access consistency check.

Fix #17044

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
3 years ago
..
authorizedkeys.go Refactor doctor (#12264) 4 years ago
checkOldArchives.go Rework repository archive (#14723) 4 years ago
dbconsistency.go Nicely handle missing user in collaborations (#17049) (#17166) 3 years ago
dbversion.go Add err to log (#15813) 4 years ago
doctor.go Refactor doctor (#12264) 4 years ago
fix16961.go Create doctor command to fix repo_units broken by dumps from 1.14.3-1.14.6 (#17136) (#17137) 3 years ago
fix16961_test.go Create doctor command to fix repo_units broken by dumps from 1.14.3-1.14.6 (#17136) (#17137) 3 years ago
mergebase.go Refactor doctor (#12264) 4 years ago
misc.go Restore creation of git-daemon-export-ok files (#16508) (#16514) 4 years ago
paths.go Refactor doctor (#12264) 4 years ago
storage.go Fix storage Iterate bug and Add storage doctor to delete garbage attachments (#16971) (#16977) 3 years ago
usertype.go Add Doctor FixWrongUserType (#14522) 4 years ago