Repository navigation
stages/consent: fix integrity error when re-consenting after consent expired (cherry-pick #26866 to version-2026.8) - #26870
Conversation
…expired (#26866) Since #18274, the default manager of expiring models excludes expired objects instead of `filter_not_expired()` deleting them. The consent stage therefore no longer finds an expired consent, and creates a new one, which conflicts with the expired consent's unique (user, application, permissions) key until `clean_expired_models` removes it. Remove expired consents for the user and application before saving. Closes #24466
✅ Deploy Preview for authentik-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-integrations ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## version-2026.8 #26870 +/- ##
==================================================
+ Coverage 91.46% 92.03% +0.56%
==================================================
Files 1162 1162
Lines 75101 75125 +24
Branches 4129 4129
==================================================
+ Hits 68691 69140 +449
+ Misses 6344 5919 -425
Partials 66 66
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-ed1e5fc88adfa46d725ce16aa68974d01f28ec18
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)sAfterwards, run the upgrade commands from the latest release notes. Instructions for KubernetesAdd the following block to your 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-ed1e5fc88adfa46d725ce16aa68974d01f28ec18Afterwards, run the upgrade commands from the latest release notes. |
Cherry-pick of #26866 to
version-2026.8branch.Original PR: #26866
Original Author: @DeviousCardi
Cherry-picked commit: 41f6fb9