sources/scim: add managed_objects_only option for stricter provisioning#22536
Open
sreelim wants to merge 1 commit into
Open
sources/scim: add managed_objects_only option for stricter provisioning#22536sreelim wants to merge 1 commit into
sreelim wants to merge 1 commit into
Conversation
Add an opt-in SCIM source setting that disables tenant-wide user/group correlation, restricts group membership to source-managed users, and unlinks objects on DELETE instead of deleting underlying User/Group rows. Includes admin UI toggle, API/schema updates, documentation, and tests covering the reported admin-group escalation path when enabled. Co-authored-by: Cursor <cursoragent@cursor.com>
✅ Deploy Preview for authentik-integrations 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. |
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up to GHSA-9m7q-6qg6-888h and maintainer feedback that tenant-wide SCIM correlation is intentional but undocumented.
Adds an opt-in
managed_objects_onlysetting on SCIM sources (default false to preserve existing behavior). When enabled:User/Grouprows are retainedAlso documents the SCIM trust model and this option in the SCIM source docs (supersedes/overlaps with #22535 — happy to rebase once that lands).
Test plan
test_managed_objects_only.pycovering conflict on existing names, membership restriction, escalation path blocked, and unlink-only DELETEpg_config)Related
Made with Cursor