Repository navigation
Conversation
|
| Status | Scan Engine | Total (0) | ||||
|---|---|---|---|---|---|---|
| Open Source Security | 0 | 0 | 0 | 0 | See details | |
| Licenses | 0 | 0 | 0 | 0 | See details | |
| ✅ | Code Security | 0 | 0 | 0 | 0 | 0 issues |
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.
kobergj
force-pushed
the
fix/OCISDEV-964-education-user-delete-uses-wrong-id
branch
from
June 9, 2026 08:58
9a85b63 to
dd33931
Compare
mzner
self-requested a review
June 9, 2026 09:03
mzner
approved these changes
Jun 9, 2026
2403905
approved these changes
Jun 9, 2026
kobergj
force-pushed
the
fix/OCISDEV-964-education-user-delete-uses-wrong-id
branch
3 times, most recently
from
June 11, 2026 07:05
2fd0f8c to
c7b6e2e
Compare
Bumps golang.org/x/net to v0.55.0 and golang.org/x/image to v0.41.0 to clear 8 govulncheck advisories (HTML/IDNA/BMP/TIFF) that started failing CI on stable-8.0 after the vulnerability database was updated. Co-Authored-By: Claude Sonnet 4.6 <[email protected]> Signed-off-by: Julian Koberg <[email protected]>
Node 24.16.0 ships a yauzl regression that makes Playwright's post-download zip extraction hang indefinitely, consuming the entire 6h job budget without producing any output after the chromium download finishes. Backported from master, see microsoft/playwright#40724. Co-Authored-By: Claude Sonnet 4.6 <[email protected]> Signed-off-by: Julian Koberg <[email protected]>
DeleteEducationUser called the LDAP backend with user.GetExternalID(), while the regular /users handler and the pre-v8.0 code path used user.GetId(). With the default RequireExternalID=false, the LDAP backend looked up the user by name-or-UUID, so the externalID never matched, the LDAP entry was never removed, and the response was a 404. Co-Authored-By: Claude Opus 4.7 <[email protected]> Signed-off-by: Julian Koberg <[email protected]>
kobergj
force-pushed
the
fix/OCISDEV-964-education-user-delete-uses-wrong-id
branch
from
June 11, 2026 07:09
c7b6e2e to
27c9de6
Compare
This was referenced Jun 11, 2026
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.
Description
Fixes a v8.0 regression where
DELETE /graph/v1.0/education/users/{id}returns404 itemNotFoundwhile leaving the LDAP entry in place.The education user delete handler passed
user.GetExternalID()to the backend, but with the defaultRequireExternalID=falsethe LDAP backend looks the user up by name-or-UUID — so the lookup never matched, theDelRequestwas never issued, and the response was a 404. Switching touser.GetId()aligns with the regular/usershandler and the pre-v8.0 behavior; the externalID-vs-UUID branching is already centralized inside the LDAP backend'sgetEducationUserhelper.While at it, the personal space purge is now performed after the LDAP delete in both
DeleteUserandDeleteEducationUser. Previously, a failure of the LDAP delete left the user without a personal space — the space had already been purged before the LDAP delete was even attempted.Regression introduced in v8.0 by 2fcfa32 (
feat: use externalID for provisioning api).Related Issue
Motivation and Context
Breaks the BYCS Provisioning API (and any client that does not provide a top-level
externalIDin the create payload). Confirmed on BYCS production (request-ida562829ffb89320037da8a30fd3c47f4, 2026-06-01).How Has This Been Tested?
make -C services/graph test— 425/425 ginkgo specs pass, including two new specs that assert:identityEducationBackend.DeleteEducationUseris called withuser.GetId()(notGetExternalID())ListStorageSpaces/DeleteStorageSpaceare not called (ordering invariant)make -C services/graph build— cleanmake -C ocis build— cleanmake -C services/graph golangci-lint— no new warnings (verified by stashing the change)Forward-port plan
Cherry-pick to
stable-8.1andmasterafter merge.Types of changes
Checklist:
changelog/unreleased/fix-education-user-delete.md)