forgejo/modules/doctor
Giteabot 28e3d0b0d3
Remove action runners on user deletion (#27902) (#27908)
Backport #27902 by @earl-warren

- On user deletion, delete action runners that the user has created.
- Add a database consistency check to remove action runners that have
nonexistent belonging owner.
- Resolves https://codeberg.org/forgejo/forgejo/issues/1720

(cherry picked from commit 009ca7223d)

Co-authored-by: Earl Warren <109468362+earl-warren@users.noreply.github.com>
Co-authored-by: Gusted <postmaster@gusted.xyz>
2023-11-05 13:20:00 +00:00
..
authorizedkeys.go Another round of db.DefaultContext refactor (#27103) (#27262) 2023-09-25 19:24:35 +02:00
breaking.go
checkOldArchives.go
dbconsistency.go Remove action runners on user deletion (#27902) (#27908) 2023-11-05 13:20:00 +00:00
dbversion.go
doctor.go
fix8312.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
fix16961.go
fix16961_test.go
heads.go
lfs.go
mergebase.go
misc.go
paths.go
repository.go Add doctor dbconsistency fix to delete repos with no owner (#27290) (#27693) 2023-10-22 02:21:41 +02:00
storage.go
usertype.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00