Skip to content

events: show account changes in user event history - #24323

Merged
dominic-r merged 1 commit into
mainfrom
dominic/24315-user-status-events
Jul 23, 2026
Merged

dominic-r merged 1 commit into
mainfrom
dominic/24315-user-status-events

Conversation

@dominic-r

Copy link
Copy Markdown
Member

User model updates are recorded with the affected user in the event's model context, while the User events tab currently filters only by actor or top-level username.

As a result, administrator actions such as activating or deactivating an account appear in Events > Logs but not in that account’s event history.

Extend the existing username filter to recognize User model context by its complete app, model, and PK identity.

Closes #24315

\

User model updates are recorded with the affected user in the event's model context, while the User events tab currently filters only by actor or top-level username.

As a result, administrator actions such as activating or deactivating an account appear in Events > Logs but not in that account’s event history.

Extend the existing username filter to recognize User model context by
its complete app, model, and PK identity.

Closes #24315
@dominic-r dominic-r self-assigned this Jul 23, 2026
@dominic-r
dominic-r requested a review from a team as a code owner July 23, 2026 14:26
Copilot AI review requested due to automatic review settings July 23, 2026 14:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@netlify

netlify Bot commented Jul 23, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 29144a3
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a6224ae254ad40008acc487
😎 Deploy Preview https://deploy-preview-24323--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@dominic-r
dominic-r enabled auto-merge (squash) July 23, 2026 14:32
@codecov

codecov Bot commented Jul 23, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.46%. Comparing base (89d5242) to head (29144a3).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #24323      +/-   ##
==========================================
- Coverage   93.49%   93.46%   -0.03%     
==========================================
  Files        1063     1063              
  Lines       64068    64087      +19     
  Branches      424      424              
==========================================
- Hits        59903    59902       -1     
- Misses       4165     4185      +20     
Flag Coverage Δ
conformance 35.44% <4.76%> (-0.01%) ⬇️
e2e 40.41% <4.76%> (+0.01%) ⬆️
integration 31.50% <4.76%> (-0.48%) ⬇️
rust 0.00% <ø> (ø)
unit 92.69% <100.00%> (+<0.01%) ⬆️
unit-migrate 90.55% <100.00%> (-0.45%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@dominic-r
dominic-r merged commit f0c5345 into main Jul 23, 2026
122 checks passed
@dominic-r
dominic-r deleted the dominic/24315-user-status-events branch July 23, 2026 14:54
@github-actions

Copy link
Copy Markdown
Contributor

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-29144a36ab97de4ee38d453fc9e2245228e30549
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-29144a36ab97de4ee38d453fc9e2245228e30549

Afterwards, run the upgrade commands from the latest release notes.

kensternberg-authentik added a commit that referenced this pull request Jul 23, 2026
* main: (172 commits)
  web/admin: QOL: Add "Expiring in `n` days" and "Expiring today" notices to LicenseStatusCard (#24300)
  stages/authenticator: protect devices from stage deletion (#24324)
  core: prompt securely when hashing passwords (#24126)
  events: show account changes in user event history (#24323)
  website/integrations: The Lounge: cleanup (#23628)
  ci: bump taiki-e/install-action from 2.83.4 to 2.84.0 in /.github/actions/setup (#24312)
  ci: add working dir prefix to file paths (#24319)
  core, web: update translations (#24304)
  packages/ak-common/tracing: make console subscriber optional (#24219)
  website: bump the build group in /website with 6 updates (#24305)
  core: bump pnpm/pnpm from 11.15.0 to 11.15.1 in /lifecycle/container (#24308)
  core: bump pnpm/pnpm from 11.15.0 to 11.15.1 in /website (#24309)
  core: bump constructs from 10.6.0 to 10.7.0 (#24310)
  core: bump uuid from 1.23.5 to 1.24.0 (#24311)
  enterprise/providers/ws_fed: add SAML 1.1 support (#23851)
  web/admin: enterprise status card properties (#24170)
  web/elements: update the progress bar (#24134)
  web/maint: upgrade ak-divider (#24082)
  web/bug: harmonize and make routine the display of tasks (part 6: sch… (#23859)
  web/maint: upgrade ak-toggle-group (#24038)
  ...
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.

Deactivaating/Activating a user account doesn't show up in the user events tab

3 participants