Skip to content

core: exclude the edited object from unique attribute checks (cherry-pick #27693 to version-2026.8) - #27700

Merged
BeryJu merged 4 commits into
version-2026.8from
cherry-pick/27693-to-version-2026.8
Nov 23, 2026
Merged

BeryJu merged 4 commits into
version-2026.8from
cherry-pick/27693-to-version-2026.8

Conversation

@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

Cherry-pick of #27693 to version-2026.8 branch.

Original PR: #27693
Original Author: @pcbeingused333
Cherry-picked commit: 5d2488a

fix: exclude the edited object from unique attribute checks

Uniqueness matched every row with that value, including the object
being edited, so saving a user with an unchanged unique attribute
was rejected. Skip that row and still reject the value on any other
object.
@netlify

netlify Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit 7a1ee0b
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6b041299f476daa1d493c4b5
😎 Deploy Preview https://deploy-preview-27700--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 Nov 8, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 1a532c5
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6b04520b76d1be331e916f05
😎 Deploy Preview https://deploy-preview-27700--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 Nov 8, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.12%. Comparing base (e46e6e6) to head (e70ad75).
⚠️ Report is 2 commits behind head on version-2026.8.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@               Coverage Diff               @@
##           version-2026.8   #27700   +/-   ##
===============================================
  Coverage           92.12%   92.12%           
===============================================
  Files                1168     1168           
  Lines               75954    75972   +18     
  Branches             4187     4187           
===============================================
+ Hits                69972    69991   +19     
+ Misses               5916     5915    -1     
  Partials               66       66           
Flag Coverage Δ
conformance 33.42% <9.52%> (-0.01%) ⬇️
e2e 38.01% <9.52%> (-0.01%) ⬇️
integration 30.11% <9.52%> (-0.01%) ⬇️
rust 47.26% <ø> (ø)
unit 93.53% <100.00%> (+<0.01%) ⬆️
unit-migrate 93.54% <100.00%> (+<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.

@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-e70ad75dc2e422fb41a28ba6942f4322472869bf
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-e70ad75dc2e422fb41a28ba6942f4322472869bf

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

@BeryJu
BeryJu merged commit b8a2256 into version-2026.8 Nov 23, 2026
228 of 231 checks passed
@BeryJu
BeryJu deleted the cherry-pick/27693-to-version-2026.8 branch November 23, 2026 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants