Skip to content

Fix: account creation in UI now makes auditlog entry - #2580

Merged
nhoening merged 11 commits into
mainfrom
fix/account-creation-in-UI-makes-auditlog-entry
Sep 25, 2026
Merged

nhoening merged 11 commits into
mainfrom
fix/account-creation-in-UI-makes-auditlog-entry

Conversation

@nhoening

@nhoening nhoening commented Sep 23, 2026 •

Copy link
Copy Markdown
Member

Description

I noticed there was no audit log entry when I made a new account in the UI (via API).

  • Create audit log entry when account is created via API
  • Centralize account creation in service utility
  • Added changelog item in documentation/changelog.rst

Look & Feel

image

How to test

Create an account in the UI, e.g. as client to an existing account.

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
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
@read-the-docs-community

read-the-docs-community Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

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
Comment thread documentation/changelog.rst Outdated
Signed-off-by: Felix Claessen <30658763+Flix6x@users.noreply.github.com>
@nhoening nhoening changed the title Fix: account creation in UI makes auditlog entry Fix: account creation in UI now makes auditlog entry Sep 24, 2026
nhoening and others added 4 commits September 24, 2026 14:28
@nhoening nhoening added this to the 1.1.0 milestone Sep 25, 2026
@nhoening nhoening self-assigned this Sep 25, 2026
@nhoening
nhoening merged commit 0f5224e into main Sep 25, 2026
13 checks passed
@nhoening
nhoening deleted the fix/account-creation-in-UI-makes-auditlog-entry branch September 25, 2026 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants