Repository navigation
feat(scim): add provisioning source dashboard controls - #43728
joshua-berri wants to merge 1 commit into
Conversation
|
| <AccessGroupSelector | ||
| value={mapping.access_group_ids} | ||
| onChange={(ids) => | ||
| setMappings((current) => | ||
| current.map((item, position) => (position === index ? { ...item, access_group_ids: ids } : item)), | ||
| ) | ||
| } | ||
| showLabel |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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!
9139077 to
53f8b9a
Compare
46ef17e to
a73102d
Compare
8eeaed6 to
6466222
Compare
837c473 to
e746442
Compare
3b2e4f8 to
88f3d22
Compare
9a1a85e to
90f88d2
Compare
08cdb81 to
41f057e
Compare
90f88d2 to
26c69fe
Compare
41f057e to
b65aa23
Compare
26c69fe to
0095004
Compare
TLDR
Problem this solves:
How it solves it:
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 head009500404273bf4ed20bce27ff0e135c07e733d3; parent boundaryb65aa234724f20730c8163ac0a83768392764533. Own diff: +376/-62 across 9 filesUser Flow
Before: the immediate parent provides the following experience
After: this PR provides the following experience
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
Linear ticket
Fixes LIT-8964
Pre-Submission checklist
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 replayedCurrent 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 inheritedPrevious 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
b65aa234724f20730c8163ac0a83768392764533and head009500404273bf4ed20bce27ff0e135c07e733d3. Previous screenshots and measured runs predate this rewrite and have been removed from the current proof sectionType
New Feature
Caveats (if any)
Medium
Final Attestation
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