feat(staterpc): attribute State Store calls to the calling service; policy audit records it

This commit is contained in:
sam committed 2026-10-04 13:48:37 +11:00
1 parent 6ff8f62859
commit 5d03513633
13 files changed
+80 -32

No files matched your search

+2 -2
View File
@@ -107,8 +107,8 @@ func (s *Store) PutPolicy(ctx context.Context, p access.Policy) (int64, error) {
RecordKey: auditKey(p),
NewValue: textJSON(p.Text),
RecordVersion: version,
Actor: "archied",
Source: "archied",
Actor: access.ActorFromContext(ctx),
Source: access.ActorFromContext(ctx),
RequestID: "",
})
})