yaiam: user attributes in SignedIn and User (ADR-0044)

Web asks for the scope attributes; SignedIn.Attributes carries the
attributes yaiam released to the application (from UserInfo), and
Admin's User carries a user's attributes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
terminarandClaude Opus 5.5 committed 2026-11-17 15:16:32 +01:00
1 parent a3e8f9bb3b
commit 538a6c8ae6
4 files changed
+21 -11

No files matched your search

+3
View File
@@ -70,6 +70,9 @@ type User struct {
Locale string `json:"locale"`
TimeZone string `json:"time_zone"`
State string `json:"state"`
// Attributes are the user's attributes by name (department,
// cost_center, ...); none with a yaiam before them.
Attributes map[string]string `json:"attributes"`
}
// Users lists the tenant's users.