Skip to content

enterprise: account lockdown - #18615

Merged
dominic-r merged 268 commits into
mainfrom
sdko/panic-button
Apr 30, 2026
Merged

dominic-r merged 268 commits into
mainfrom
sdko/panic-button

Conversation

@dominic-r

@dominic-r dominic-r commented Dec 4, 2025 •

Copy link
Copy Markdown
Member

Closes: #18160

@dominic-r dominic-r added this to the Release 2026.2 milestone Dec 4, 2025
@dominic-r dominic-r self-assigned this Dec 4, 2025
@dominic-r dominic-r added the area:frontend Features or issues related to the browser, TypeScript, Node.js, etc label Dec 4, 2025
@dominic-r dominic-r linked an issue Dec 4, 2025 that may be closed by this pull request
@netlify

netlify Bot commented Dec 4, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit c88a928
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/69f3da4d9c74580008fa8e3d
😎 Deploy Preview https://deploy-preview-18615--authentik-integrations.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.

@netlify

netlify Bot commented Dec 4, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit c88a928
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/69f3da4dfa1a1700086f578d
😎 Deploy Preview https://deploy-preview-18615--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.

@netlify

netlify Bot commented Dec 4, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 0ea4469
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/69f3c5aa16d636000891ba35
😎 Deploy Preview https://deploy-preview-18615--authentik-storybook.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.

@codecov

codecov Bot commented Dec 4, 2025 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.73692% with 16 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.23%. Comparing base (8963d29) to head (c88a928).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...hentik/enterprise/stages/account_lockdown/stage.py 95.48% 8 Missing ⚠️
...rprise/stages/account_lockdown/tests/test_stage.py 98.13% 6 Missing ⚠️
...uthentik/enterprise/stages/account_lockdown/api.py 96.49% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #18615      +/-   ##
==========================================
+ Coverage   93.17%   93.23%   +0.06%     
==========================================
  Files        1017     1024       +7     
  Lines       58449    59153     +704     
  Branches      331      331              
==========================================
+ Hits        54458    55154     +696     
- Misses       3991     3999       +8     
Flag Coverage Δ
conformance 36.28% <16.69%> (-0.24%) ⬇️
e2e 42.08% <16.83%> (-0.31%) ⬇️
integration 33.29% <16.54%> (-0.21%) ⬇️
rust 0.00% <ø> (ø)
unit 92.09% <97.73%> (+0.07%) ⬆️
unit-migrate 92.10% <97.73%> (+0.07%) ⬆️

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

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

@dominic-r
dominic-r marked this pull request as ready for review December 22, 2025 16:01
@dominic-r
dominic-r requested review from a team as code owners December 22, 2025 16:01
Comment thread web/src/admin/users/UserListPage.ts Resolved
@github-actions

github-actions Bot commented Dec 23, 2025 •

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-c88a928532e1d8fc8ccad4be62bab42824e2b5d2
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-c88a928532e1d8fc8ccad4be62bab42824e2b5d2

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

@dominic-r
dominic-r requested a review from a team as a code owner December 27, 2025 00:28

@dewi-tik dewi-tik 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.

Few minor changes to docs.

@github-project-automation github-project-automation Bot moved this from Todo to In Progress in authentik Core Dec 29, 2025
@dominic-r
dominic-r marked this pull request as draft December 31, 2025 00:36
@dominic-r
dominic-r marked this pull request as ready for review December 31, 2025 21:01
Comment thread web/src/admin/events/RuleForm.ts Resolved
@dominic-r dominic-r changed the title core: panic button enterprise: account lockdown Jan 2, 2026
@dominic-r
dominic-r force-pushed the sdko/panic-button branch 2 times, most recently from 2f37a81 to 45d33ba Compare January 26, 2026 01:45
Comment thread authentik/events/models.py Resolved
Comment thread authentik/tenants/models.py Resolved
Comment thread authentik/core/api/users.py Resolved
Comment thread authentik/core/api/users.py Resolved
Comment thread authentik/core/api/users.py Resolved
Comment thread authentik/core/api/users.py Resolved
Comment thread authentik/core/api/users.py Resolved
Comment thread authentik/core/api/users.py Resolved
Comment thread authentik/core/api/users.py Resolved
Comment thread authentik/core/api/users.py Resolved
@dominic-r
dominic-r requested a review from BeryJu April 22, 2026 23:54
# Conflicts:
#	authentik/tenants/api/settings.py
#	web/src/user/user-settings/UserSettingsPage.ts

@BeryJu BeryJu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Couple of small nits and a couple of things I'd like to see fixed otherwise LGTM

Comment thread authentik/events/models.py Resolved
Comment thread web/src/admin/brands/BrandForm.ts Resolved
@dominic-r
dominic-r requested a review from BeryJu April 30, 2026 21:12
@dominic-r
dominic-r enabled auto-merge (squash) April 30, 2026 22:40
@dominic-r
dominic-r merged commit 821b74d into main Apr 30, 2026
108 checks passed
@dominic-r
dominic-r deleted the sdko/panic-button branch April 30, 2026 23:02
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:backend area:frontend Features or issues related to the browser, TypeScript, Node.js, etc

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

"Panic button" in admin interface

7 participants