Description
Editor-level users are exposed to the command palette and can see search results for pages, templates, and template parts that they don't actually have access to edit
Related #61444
Related #61419
Step-by-step reproduction instructions
- Log in as an editor
- Enter a page to edit
- Type CMD+K to open the Command Palette
- Search for a page, template, or template part
- Select one and be sent to the "Sorry, you are not allowed to access this page." message
Screenshots, screen recording, code snippet
No response
Environment info
- WordPress 6.5.3
- Gutenberg 18.3.0
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Description
Editor-level users are exposed to the command palette and can see search results for pages, templates, and template parts that they don't actually have access to edit
Related #61444
Related #61419
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes