Skip to content

web/admin: drop misleading delete consequences from user activation review - #24273

Merged
GirlBossRush merged 4 commits into
mainfrom
fix/user_activation
Aug 5, 2026
Merged

GirlBossRush merged 4 commits into
mainfrom
fix/user_activation

Conversation

@melizeche

@melizeche melizeche commented Jul 21, 2026 •

Copy link
Copy Markdown
Member

Details

The activate/deactivate review reused the destructive form's used-by table, whose "Consequence" column claims associated objects "will be deleted". Toggling is_active deletes nothing, so that column was false.

Add a showConsequences opt-out to the shared form and set it on the user activation toggle, so the review still lists the user's associations but without the deletion framing.

now just shows the user to be activated/deactivated

Before:
image

poposal:
image

final:
image

Closes #23778
Closes #23777


Checklist

  • The project has been linted, built, and tested (make all)
  • The documentation has been updated and formatted (make docs)

@melizeche
melizeche requested a review from a team as a code owner July 21, 2026 20:09
@netlify

netlify Bot commented Jul 21, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit c64476e
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6a733f92ba35700008b9e794
😎 Deploy Preview https://deploy-preview-24273--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.

@netlify

netlify Bot commented Jul 21, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit c64476e
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a733f92266db900080fed77
😎 Deploy Preview https://deploy-preview-24273--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.

@melizeche melizeche self-assigned this Jul 21, 2026
@melizeche melizeche added the area:frontend Features or issues related to the browser, TypeScript, Node.js, etc label Jul 21, 2026
@melizeche

Copy link
Copy Markdown
Member Author

first I tried showing no related objects but the empty dialog just looked wrong imho

@codecov

codecov Bot commented Jul 21, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.25%. Comparing base (7a66fae) to head (c64476e).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #24273      +/-   ##
==========================================
+ Coverage   91.12%   91.25%   +0.12%     
==========================================
  Files        1129     1129              
  Lines       70886    70886              
  Branches     3874     3874              
==========================================
+ Hits        64595    64686      +91     
+ Misses       6256     6165      -91     
  Partials       35       35              
Flag Coverage Δ
conformance 35.04% <ø> (-0.05%) ⬇️
e2e 39.85% <ø> (+0.50%) ⬆️
integration 31.64% <ø> (+<0.01%) ⬆️
rust 38.90% <ø> (ø)
unit 92.92% <ø> (+<0.01%) ⬆️
unit-migrate 92.95% <ø> (+<0.01%) ⬆️

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.

@melizeche melizeche moved this from Todo to In Progress in authentik Core Jul 28, 2026
@melizeche

Copy link
Copy Markdown
Member Author

lastest:
image

@netlify

netlify Bot commented Aug 4, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit c64476e
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6a733f92ff4d4a0008309bac
😎 Deploy Preview https://deploy-preview-24273--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.

@melizeche melizeche added backport/version-2026.5 Add this label to PRs to backport changes to version-2026.5 backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8 labels Aug 4, 2026
@github-actions

github-actions Bot commented Aug 4, 2026 •

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

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

@GirlBossRush
GirlBossRush enabled auto-merge (squash) August 5, 2026 13:51
@GirlBossRush
GirlBossRush merged commit cc33d1a into main Aug 5, 2026
144 of 145 checks passed
@GirlBossRush
GirlBossRush deleted the fix/user_activation branch August 5, 2026 14:13
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Aug 5, 2026
@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

⚠️ Cherry-pick to version-2026.5 has conflicts: #24786

@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

🍒 Cherry-pick to version-2026.8 created: #24787

GirlBossRush pushed a commit that referenced this pull request Aug 5, 2026
This cherry-pick has conflicts that need manual resolution.

Original PR: #24273
Original commit: cc33d1a
melizeche added a commit that referenced this pull request Aug 5, 2026
…eview (cherry-pick #24273 to version-2026.5) (#24786)

Cherry-pick #24273 to version-2026.5 (with conflicts)

This cherry-pick has conflicts that need manual resolution.

Original PR: #24273
Original commit: cc33d1a

Co-authored-by: Marcelo Elizeche Landó <[email protected]>
melizeche added a commit that referenced this pull request Aug 5, 2026
…eview (cherry-pick #24273 to version-2026.8) (#24787)

web/admin: drop misleading delete consequences from user activation review (#24273)

* don't show delete consequences on user activation toggle

* list associations without delete consequences on user activation toggle

* revert, just show the username

* Fix sizing. Format.

---------

Co-authored-by: Marcelo Elizeche Landó <[email protected]>
Co-authored-by: Teffen Ellis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:frontend Features or issues related to the browser, TypeScript, Node.js, etc backport/version-2026.5 Add this label to PRs to backport changes to version-2026.5 backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

User activation popup claims activation would delete something Associations not removed from user upon deactivation

2 participants