Skip to content

Scope endpoint deletion to the caller's authorized products - #15742

Open
svader0 wants to merge 1 commit into
DefectDojo:bugfixfrom
svader0:hardening/location-delete-scoping
Open

Scope endpoint deletion to the caller's authorized products#15742
svader0 wants to merge 1 commit into
DefectDojo:bugfixfrom
svader0:hardening/location-delete-scoping

Conversation

@svader0

@svader0 svader0 commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

Hardening / consistency improvement to endpoint (Location) delete handling.

A Location row is shared by every product that records the same value. Both delete paths now
route through one shared helper. The helper removes only the references the caller's products
own, and it deletes the row itself once nothing points at it any more.

Adds regression tests. No functional change for correctly-permissioned users.

Hardening to the endpoint (Location) delete paths. A Location row is shared by
every product that records the same value, so both delete paths now route
through one helper that removes only the references the caller's products own.
Adds regression tests. No functional change for correctly-permissioned users.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant