feat: Users API, ownership transfer and removal of the legacy role string

This commit is contained in:
Florian Sylvain committed 2026-10-27 03:08:15 +01:00
1 parent 094df63a7f
commit 80f7037d3a
124 files changed
+4644 -824

No files matched your search

+1 -1
View File
@@ -281,7 +281,7 @@ func TestGrantSetTypedDecisions(t *testing.T) {
func TestBackfillCreatedByWithSoftDeletedArticle(t *testing.T) {
db := openMigratedRolesDB(t)
createUserRow(t, db, 3, "owner", nil)
createUserRow(t, db, 3, ownerIDPtr(t, db))
createArticleRow(t, db, 10, 0)
if err := db.Delete(&models.Article{}, 10).Error; err != nil {
t.Fatal(err)