release: sync production to v0.11.14 (componentId in URL) - #491
Merged
Merged
Conversation
…y._id
Les routes PUT/DELETE /workspaces/:id/components utilisaient body._id comme cible
d'écriture (même après vérification). Pour plus de clarté et de robustesse, la cible
passe dans l'URL :
- PUT/DELETE /workspaces/:id/components/:componentId (componentId = req.params.componentId)
- L'objet à écrire assemble le body (contenu) + _id et workspaceId depuis les params
- workspaceStore (item_persist, updateComponent, workspace_current_delete_component) :
URLs mises à jour avec /components/:id
- PUT /workspaces/:id et bigdataflow : objet intermédiaire {...req.body, _id: req.params.id}
au lieu de muter req.body._id
- Tests mis à jour (componentId dans les params, req.body non muté)
Validé en E2E réel : PUT/DELETE owner 200, non-membre 403
fix(security): cible composant dans l'URL — élimine body._id (SB-IDOR-2026-01)
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.
Résumé
Sync de
productionavecmaster→ v0.11.14.Contenu
/components/:componentId) — éliminebody._id.PUT /workspaces/:id.