Skip to content
Snippets Groups Projects
Commit 8aa017d6 authored by Dmitry Rodionov's avatar Dmitry Rodionov
Browse files

feat(audit) add initiator field to relevant events (almost all of them)

This patch adds initiator field to most of the events. Initiator is
added to members of Op enum which do not contain it already (e g owner
in CreateUser serves as initiator). To me it is reasonable to remove
as_user from CaS/ACL checks because it matches initiator. But I decided
not to do this just yet.

Additionally I've mande small cleanup to UserMetadata to avoid need for
intermediate step in decoding when we first fetch tuple and then decode
it into model struct.

Close https://git.picodata.io/picodata/picodata/picodata/-/issues/433
parent 6e136341
No related branches found
No related tags found
4 merge requests!807Draft: fix: remove deprecated message for install nodejs,!791feat(audit) add initiator field to relevant events (almost all of them),!778sbroad: refactoring of the table constructor API,!757fix: more patches for gamayun
Pipeline #29557 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment