stages/email: only update is_active on user to not overwrite external changes#15508
stages/email: only update is_active on user to not overwrite external changes#15508
Conversation
✅ Deploy Preview for authentik-integrations canceled.
|
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #15508 +/- ##
==========================================
+ Coverage 93.19% 93.21% +0.02%
==========================================
Files 831 831
Lines 44135 44144 +9
==========================================
+ Hits 41133 41151 +18
+ Misses 3002 2993 -9
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-c0ad439c10406a0022fb66c5690a92e3ab4f37d0
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-c0ad439c10406a0022fb66c5690a92e3ab4f37d0Afterwards, run the upgrade commands from the latest release notes. |
2b1cb67 to
466bc9d
Compare
… changes Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
111676a to
c0ad439
Compare
… changes (#15508) * stages/email: only update is_active on user to not overwrite external changes Signed-off-by: Jens Langhammer <jens@goauthentik.io> * respect update_fields for diff Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
… changes (#15508) * stages/email: only update is_active on user to not overwrite external changes Signed-off-by: Jens Langhammer <jens@goauthentik.io> * respect update_fields for diff Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
… changes (goauthentik#15508) * stages/email: only update is_active on user to not overwrite external changes Signed-off-by: Jens Langhammer <jens@goauthentik.io> * respect update_fields for diff Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Details
Due to the entire user object being stored in the flow context, when it is modified externally during a flow execution, data such as attributes can be lost
Checklist
ak test authentik/)make lint-fix)If an API change has been made
make gen-build)If changes to the frontend have been made
make web)If applicable
make website)