feat(staterpc): attribute State Store calls to the calling service; policy audit records it
This commit is contained in:
1 parent
6ff8f62859
commit
5d03513633
13 files changed
+80
-32
No files matched your search
@@ -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: "",
|
||||
})
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user