This commit is contained in:
venture
2026-11-14 10:53:22 +01:00
parent f16363cb60
commit 9d4f827d38
13 changed files with 1500 additions and 12 deletions
+4 -3
View File
@@ -95,9 +95,10 @@ func (s *Service) ListGroups(ctx context.Context, memberID ident.UUID) ([]Group,
groups := make([]Group, 0, len(rows))
for _, row := range rows {
groups = append(groups, Group{
ID: row.ID,
Name: row.Name,
Role: row.Role,
ID: row.ID,
Name: row.Name,
Status: row.Status,
Role: row.Role,
})
}
+4 -3
View File
@@ -35,9 +35,10 @@ type Principal struct {
}
type Group struct {
ID ident.UUID
Name string
Role string
ID ident.UUID
Name string
Status string
Role string
}
type Member struct {