Fix: account creation in UI now makes auditlog entry - #2580
Merged
Merged
Conversation
Context: - Account creation through the UI/API omitted its audit record - CLI and implicit user creation duplicated account audit logic Change: - Route runtime account creation through one service - Preserve API, CLI, and user-creation context in audit events
Context: - Account creation audit coverage did not span API, CLI, and implicit user creation Change: - Assert affected account, actor, and creation context for each path
Context: - Organisation creation was not consistently visible in audit logs Change: - Document audited organisation creation across UI, API, and CLI
Documentation build overview
8 files changed ·
|
Context: - API provenance alone did not distinguish creation from the UI - Client organisation creation did not identify its consultancy Change: - Mark account creation requests from the known UI page - Include the consultancy identity for directly created clients
Context: - Client creation audit events now distinguish the UI page and consultancy Change: - Assert both details on an authenticated account creation request
Flix6x
reviewed
Sep 23, 2026
Signed-off-by: Felix Claessen <30658763+Flix6x@users.noreply.github.com>
Flix6x
approved these changes
Sep 23, 2026
…hub.com:FlexMeasures/flexmeasures into fix/account-creation-in-UI-makes-auditlog-entry
Signed-off-by: Felix Claessen <30658763+Flix6x@users.noreply.github.com>
nhoening
deleted the
fix/account-creation-in-UI-makes-auditlog-entry
branch
September 25, 2026 10:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
I noticed there was no audit log entry when I made a new account in the UI (via API).
documentation/changelog.rstLook & Feel
How to test
Create an account in the UI, e.g. as client to an existing account.