Skip to content

feat(scim): add provisioning source dashboard controls - #43728

Open
joshua-berri wants to merge 1 commit into
litellm_agent_split_scim_activationfrom
litellm_agent_split_scim_dashboard
Open

joshua-berri wants to merge 1 commit into
litellm_agent_split_scim_activationfrom
litellm_agent_split_scim_dashboard

Conversation

@joshua-berri

@joshua-berri joshua-berri commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

TLDR

Problem this solves:

  • Administrators need provisioning-source controls in the dashboard

How it solves it:

  • Expose existing source APIs and directory-owned identity state

Adds source configuration to the existing SCIM dashboard and shows directory-owned identity details in agent forms. Administrators can create, edit, disable and re-enable a source while tenant identity stays locked; provisioned agents can be enabled without rebinding their directory identity

Stack 9/9. Depends on #43727, targeting litellm_agent_split_scim_activation. Current head 009500404273bf4ed20bce27ff0e135c07e733d3; parent boundary b65aa234724f20730c8163ac0a83768392764533. Own diff: +376/-62 across 9 files

User Flow

Before: the immediate parent provides the following experience

  1. Open https://litellm-domain/ui/ and navigate to SCIM
  2. Look for agent provisioning sources

After: this PR provides the following experience

  1. Open https://litellm-domain/ui/ and navigate to SCIM
  2. Create a source with a restricted token, reload, and edit its allowed settings

Relevant issues

Splits the approved scope from #43230 into the smaller review stack below. The nine PRs collectively replace #43149, #43229, #43230 and #43459; this PR covers only the scope described above. Original PRs remain open pending replacement review

  1. feat(agents): add identity storage and validation contracts #43720
  2. feat(agents): enforce authoritative agent permissions #43721
  3. feat(agents): authenticate Entra identities and delegated requests #43722
  4. feat(agents): add identity registration and dashboard controls #43723
  5. feat(agents): enforce agent budgets #43724
  6. feat(scim): add source storage and provisioning contracts #43725
  7. feat(scim): add atomic agent and human provisioning operations #43726
  8. feat(scim): activate source-bound provisioning and authorization #43727
  9. feat(scim): add provisioning source dashboard controls #43728

Linear ticket

Fixes LIT-8964

Pre-Submission checklist

  • I have added meaningful tests
  • Full current-tip affected verification complete
  • My PR passes all required CI/CD checks
  • This PR isolates the stated part of the approved stack
  • Greptile confidence is at least4/5 before maintainer review

Verification

Restacked bottom-up after #43724 was rebased onto main c168199e33af584e33198714fd4bff716c866ae0. Old parent boundaries and backup refs were retained, and only this branch's own commits were replayed

Current head: 009500404273bf4ed20bce27ff0e135c07e733d3. Immediate parent: b65aa234724f20730c8163ac0a83768392764533. The preceding stack tip passed 2,281 backend and 59 dashboard tests. The preceding main restack passed 139 affected header/native/chat/version tests. The current restack carries the narrowly scoped chat model-pricing correction; its own current-tip readiness remains pending. This PR’s own patches are unchanged by range-diff. The financial fixes in #43724 remain inherited

Previous tip-specific CI, coverage, independent execution, and bot evidence is superseded. This PR still needs its own current-tip readiness checks before maintainer review

Screenshots / Proof of Fix

Fresh PR-specific before/after evidence remains pending for parent b65aa234724f20730c8163ac0a83768392764533 and head 009500404273bf4ed20bce27ff0e135c07e733d3. Previous screenshots and measured runs predate this rewrite and have been removed from the current proof section

Type

New Feature

Caveats (if any)

Medium

  • Current-tip dashboard build and full review remain pending

Final Attestation

  • Final current-tip CI, coverage and automated review checks complete

Latest restack includes #43724 resolved admission, token pricing, and request compatibility repairs at 7a1343178ebf0f5601821b641300a8b201a7cd03. This PR’s own patches are unchanged by range-diff; tip-specific readiness remains pending

@greptile-apps

greptile-apps Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 4/5

[Critical risk] Adds SCIM provisioning controls that manage agent identity sources.

The PR appears safe to merge, with non-blocking form-validation and unavailable-state feedback to improve.

Findings

  1. P2 Empty mappings can be submitted ▶
  2. P2 Unknown mappings appear as zero ▶

Summary

Adds SCIM provisioning-source controls to the dashboard and displays directory-owned identity state in agent forms. Administrators can create and update sources, including their group mappings, while provisioned identity fields remain locked.

Reviews (1) · Last reviewed commit: "feat(agents): scim dashboard"

Comment on lines +138 to +145
<AccessGroupSelector
value={mapping.access_group_ids}
onChange={(ids) =>
setMappings((current) =>
current.map((item, position) => (position === index ? { ...item, access_group_ids: ids } : item)),
)
}
showLabel

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Empty mappings can be submitted When an administrator adds a mapping and enters its Entra group ID, the form still allows them to save without selecting an access group. The API requires at least one access group per mapping, so the save fails with a 422 instead of identifying the incomplete mapping in the form.

</p>
<p className="text-sm">Provisioned through Entra SCIM</p>
<p className="text-sm">Directory status: {directoryStatus(data?.directory_active)}</p>
<p className="text-sm">Mapped access groups: {data?.directory_access_group_ids?.length ?? 0}</p>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Unknown mappings appear as zero While the directory-status request is loading or has failed, the page displays “Mapped access groups: 0.” That makes unavailable information look like a confirmed absence of mappings, which can mislead an administrator inspecting the agent.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

@joshua-berri
joshua-berri force-pushed the litellm_agent_split_scim_activation branch from 9139077 to 53f8b9a Compare September 30, 2026 23:32
@joshua-berri
joshua-berri force-pushed the litellm_agent_split_scim_dashboard branch 2 times, most recently from 46ef17e to a73102d Compare September 30, 2026 23:57
@joshua-berri
joshua-berri force-pushed the litellm_agent_split_scim_activation branch 2 times, most recently from 8eeaed6 to 6466222 Compare October 1, 2026 00:39
@joshua-berri
joshua-berri force-pushed the litellm_agent_split_scim_dashboard branch 2 times, most recently from 837c473 to e746442 Compare October 1, 2026 01:46
@joshua-berri
joshua-berri force-pushed the litellm_agent_split_scim_activation branch 2 times, most recently from 3b2e4f8 to 88f3d22 Compare October 1, 2026 01:59
@joshua-berri
joshua-berri force-pushed the litellm_agent_split_scim_dashboard branch 2 times, most recently from 9a1a85e to 90f88d2 Compare October 1, 2026 02:18
@joshua-berri
joshua-berri force-pushed the litellm_agent_split_scim_activation branch 2 times, most recently from 08cdb81 to 41f057e Compare October 1, 2026 02:33
@joshua-berri
joshua-berri force-pushed the litellm_agent_split_scim_dashboard branch from 90f88d2 to 26c69fe Compare October 1, 2026 02:33
@joshua-berri
joshua-berri force-pushed the litellm_agent_split_scim_activation branch from 41f057e to b65aa23 Compare October 1, 2026 02:50
@joshua-berri
joshua-berri force-pushed the litellm_agent_split_scim_dashboard branch from 26c69fe to 0095004 Compare October 1, 2026 02:50

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant