1
1
mirror of https://github.com/go-gitea/gitea synced 2025-02-24 22:04:18 +00:00
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
..
2021-06-07 07:27:09 +02:00
2020-10-02 23:37:53 -04:00
2021-04-12 10:49:26 -04:00
2021-05-03 13:24:24 -04:00
2020-04-05 07:20:50 +01:00