Command Palette: remove results for items non admin users don't have access to #61528
Labels
[Feature] Site Editor
Related to the overarching Site Editor (formerly "full site editing")
[Package] Commands
/packages/commands
[Type] Bug
An existing feature does not function as intended
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
The text was updated successfully, but these errors were encountered: