gitea/modules/doctor
zeripath e8574f2f7d
Nicely handle missing user in collaborations (#17049)
* Nicely handle missing user in collaborations

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>
2021-09-27 19:07:19 +01:00
..
authorizedkeys.go
checkOldArchives.go
dbconsistency.go Nicely handle missing user in collaborations (#17049) 2021-09-27 19:07:19 +01:00
dbversion.go
doctor.go
fix16961.go
fix16961_test.go
mergebase.go
misc.go
paths.go
storage.go
usertype.go