diff --git a/packages/editor/src/components/post-template/panel.js b/packages/editor/src/components/post-template/panel.js index bbad1cb135fd98..1a0df3995ede7a 100644 --- a/packages/editor/src/components/post-template/panel.js +++ b/packages/editor/src/components/post-template/panel.js @@ -47,7 +47,11 @@ export default function PostTemplatePanel() { return canCreateTemplates; }, [] ); - if ( ! isBlockTheme && isVisible ) { + const canViewTemplates = useSelect( ( select ) => { + return select( coreStore ).canUser( 'read', 'templates' ) ?? false; + }, [] ); + + if ( ( ! isBlockTheme || ! canViewTemplates ) && isVisible ) { return (