Switching pages with command palette opens site editor even if user can't access it #62460
Labels
[Package] Core commands
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
While editing a page using the post editor, I can open the command palette and search for a different page to edit, but when I select the page, it opens in the site editor even if I can't access that.
Step-by-step reproduction instructions
edit_theme_options
capability (see snippet).Screenshots, screen recording, code snippet
Deny the
edit_theme_options
capability with: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
The text was updated successfully, but these errors were encountered: