Skip to content

[6.x] Authorize tree endpoints - #15087

Open
duncanmcclean wants to merge 1 commit into
6.xfrom
authorize-tree-endpoints
Open

[6.x] Authorize tree endpoints#15087
duncanmcclean wants to merge 1 commit into
6.xfrom
authorize-tree-endpoints

Conversation

@duncanmcclean

Copy link
Copy Markdown
Member

This pull request fixes missing authorization checks on the collection and navigation tree endpoints.

`CollectionTreeController::index()` and `NavigationTreeController::index()`
were reachable by any user with `access cp`, leaking entry titles, slugs,
urls, statuses and redirects from collections and navs the user isn't
permitted to view. Their `update()` counterparts already authorized.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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