feat: roles SPA Users, Profile, API keys, Activity

This commit is contained in:
Florian Sylvain committed 2026-10-28 00:10:15 +01:00
1 parent 3db490a615
commit 34dffe222f
98 files changed
+4957 -434

No files matched your search

+5
View File
@@ -192,6 +192,11 @@ func TestSQLiteSchemaIsUntouchedByTheModelChanges(t *testing.T) {
}
for _, row := range after.rows["users"] {
delete(row, "role_id")
assignedBy, columnAdded := row["role_assigned_by_id"]
if !columnAdded || assignedBy != nil {
t.Errorf("a legacy user must read a NULL role_assigned_by_id: %v", row)
}
delete(row, "role_assigned_by_id")
}
for _, row := range after.rows["invites"] {
if row["role_id"] == nil {