Repository navigation
sources/kerberos, sources/ldap: Save source connections when linking an existing user/group - #26059
Conversation
…an existing user or group
✅ 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. |
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Is this ready for review? Are you still planning more changes/testing? |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #26059 +/- ##
==========================================
- Coverage 91.98% 91.95% -0.03%
==========================================
Files 1174 1174
Lines 76184 76214 +30
Branches 4056 4056
==========================================
+ Hits 70078 70086 +8
- Misses 6064 6086 +22
Partials 42 42
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
|
Yes, this is basically ready. I just ran into some problems getting the build environment set up, so I only tested it by patching the existing 2026.8.0 image instead of running a full build. |
Signed-off-by: Jens Langhammer <[email protected]>
BeryJu
left a comment
There was a problem hiding this comment.
Looks good, although the fact that this hasn't come up before gives me the gut feeling that this might've been intentional, but I cannot think of a reason why
cc @gergosimonyi @rissson if either of you can think of a reason why this wasn't there before
|
This LGTM, weird we didn't have that before |
|
🍒 Cherry-pick to |
* main: (38 commits) providers/oauth2: track RP logins per session for logout (#26310) common/saml: Fix metadata to serve only the leaf of a PEM chain (#26273) website: bump the build group in /website with 3 updates (#26292) website/docs: rac: explain authorization reuse and disconnect behavior (#26288) core: bump astral-sh/uv from 0.12.16 to 0.12.17 in /lifecycle/container (#26294) sources/kerberos, sources/ldap: Save source connections when linking an existing user/group (#26059) core: bump goauthentik/fips-python from `863aded` to `05c6c36` in /lifecycle/container (#26295) core: bump library/node from `14bf3ea` to `d82e1d0` in /lifecycle/container (#26240) ci: bump the codeql group across 1 directory with 3 updates (#26304) ci: bump codecov/codecov-action from 7.1.0 to 7.1.1 in /.github/actions/test-results (#26307) ci: bump codecov/codecov-action from 7.1.0 to 7.1.1 (#26305) ci: bump taiki-e/install-action from 2.87.13 to 2.87.15 in /.github/actions/setup (#26306) core: bump debugpy from 1.8.21 to 1.8.22 (#26303) core: bump openid/conformance-suite from release-v5.3.0 to release-v5.3.1 in /tests/openid_conformance (#26301) core: bump jwcrypto from 1.6.0 to 1.6.1 (#26302) core: bump openid/conformance-suite/nginx from release-v5.3.0 to release-v5.3.1 in /tests/openid_conformance (#26300) core: bump ruff from 0.16.7 to 0.16.8 (#26299) core: bump sentry-sdk from 2.69.1 to 2.69.2 (#26298) core: bump goauthentik/selenium from 151.0-ak-0.61.0 to 152.0-ak-0.62.0 in /tests/e2e (#26293) website/docs: fix two word-swap typos (#26283) ...
…an existing user/group (cherry-pick #26059 to version-2026.8) (#26313) sources/kerberos, sources/ldap: Save source connections when linking an existing user/group (#26059) * sources/kerberos, sources/ldap: Save source connections when linking an existing user or group * add tests --------- Signed-off-by: Jens Langhammer <[email protected]> Co-authored-by: Sven Gebauer <[email protected]> Co-authored-by: Dewi Roberts <[email protected]> Co-authored-by: Jens Langhammer <[email protected]>
Details
What does this PR change?
When linking an existing user or group to LDAP and/or Kerberos, make sure we save the corresponding source connection, like we do when enrolling a new user.
Why is this change needed?
This change fixes #26057 and probably also #21326.
How was this tested?
This was tested manually by patching the existing 2026.8.0 container image, and then running through the reproduction steps from #26057.
Linked issues
closes #26057
Checklist
make all)make docs) - Docs were not changed