Skip to content

feat: Scope skeleton compact-detail to project_id context#4

Open
afonsobspinto wants to merge 1 commit into
metacellfrom
feature/NA-894
Open

feat: Scope skeleton compact-detail to project_id context#4
afonsobspinto wants to merge 1 commit into
metacellfrom
feature/NA-894

Conversation

@afonsobspinto

@afonsobspinto afonsobspinto commented Jul 6, 2026

Copy link
Copy Markdown
Member

Closes https://metacell.atlassian.net/browse/NA-894

  • Scopes CATMAID skeleton compact-detail requests to the project in the URL. It adds a shared validate_skeleton_in_project() helper and applies it to the single skeleton compact-detail endpoint, so a skeleton ID from another project is treated as missing and returns 404 instead of leaking compact skeleton data.

  • Adds regression coverage using skeleton 373, verifying that the correct project still works while requesting the same skeleton through project 5 fails for the compact-detail endpoint.

@afonsobspinto afonsobspinto requested a review from seankmartin July 6, 2026 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant