fix: archive ownerless repositories without assigning ownership (#800)

This commit is contained in:
Thomas Durieux authored and GitHub committed 2026-09-08 14:03:09 +02:00
1 parent 8de4a536cc
commit 530e388e46
13 files changed
+364 -53

No files matched your search

+1
View File
@@ -309,6 +309,7 @@ router.get(
try {
user = await getUser(req);
} catch { /* not logged in */ }
repo.assertNotArchived();
const canEdit =
!!user &&
(user.isAdmin ||