Files
plane/apps/api
Manish Gupta 8d992aebf3 [INFRA-501] test: pin absence of the asset identifier fields on a denied dedup match
Review follow-up. The denial tests checked that the matched asset's UUIDs did not
appear in the response body, which is weaker than it looks: asset_url is derived
from entity_type, and its workspace-level form (/api/assets/v2/static/<id>/)
carries no project id at all, so a substring check on the project UUID would not
catch every shape of leak.

Assert the asset_id and asset_url fields are absent outright, in a helper shared
by both denial cases, and keep the UUID substring checks underneath it. The
omitted-project_id case previously only checked the asset id, so it now covers
the same ground as the case that supplies one.

Both denial tests fail against the commit before the dedup fix; the two controls
proving dedup still echoes for an accessible asset pass either way.

Co-authored-by: Plane AI <noreply@plane.so>
2026-08-21 14:24:12 +05:30
..
2025-12-05 16:03:51 +05:30
2026-01-27 13:54:22 +05:30
2026-08-16 23:36:30 +05:30
2025-07-04 15:32:21 +05:30
2026-01-27 13:54:22 +05:30