PublishPress Blocks Has User Role Controls for Gutenberg
PublishPress Blocks 3.1 is available now and allows you to control which users can see a specific Gutenberg block.
The PublishPress Blocks plugin has a new “User Role Controls feature”. This makes it possible to add the following restrictions to any Gutenberg block:
- Show a block to logged in users only.
- Show a block to logged out users only.
- Show a block to selected user roles.
- Hide a block from selected user roles.
You can add these controls to almost any block, including blocks from the WordPress core and third party plugins.
How to show a block to logged in users only
- Go to the Block Controls panel.
- Enable block user roles.
- Select “Show to logged in users”.

How to show a block to logged out users only
- Go to the Block Controls panel.
- Enable block user roles.
- Select “Show to logged out users”.

How to show a block to selected user roles
- Go to the Block Controls panel.
- Enable block user roles.
- Select “Show to the selected user roles”.
- Choose the user roles you wish to show the block.

How to hide a block from selected user roles
- Go to the Block Controls panel.
- Enable block user roles.
- Select “Hide to the selected user roles”.
- Choose the user roles you wish to hide the block.

More on these new Block Control features
Using the PublishPress Blocks plugin, you can schedule when blocks are shown, and also add user role restrictions. We're planning to add more controls shortly. Block Controls works with almost any block, including blocks from third party plugins. Click here for more on Block Controls and more on scheduling Gutenberg blocks.