Secure your content in the editor by user role with Secure Blocks for Gutenberg.
Using Secure Blocks you can add any Gutenberg block inside a secure block, have it render only to logged in users, or lock it down to a user role of your choosing.
Secure Blocks also provides an additional area that can display blocks to users that do not have permission to view the content.
The plugin provides the following functionality:
- Display content only to logged-users
- Display alternative content to logged-out users
- Display content to users within certain user roles
- Display alternative content to users not in those user roles
Features coming soon to aid with securing sites
- Login Block
- Register Block
- Password Reset Block
- Restrict entire pages / posts, not just inline content
Standard Gutenberg Content
Adding content which is locked down by user role.
You are not restricted to the kind of block you can secure
A full screen image is not limited by the bounds of the Secure Block
Adding the Secure Block
What you first see when you add the Secure Block
Add any blocks to the Secure Block
Viewing the site when logged-in
Viewing the site when logged-out
Using the Inspector to select roles to lock the content down further
Locking down to certain user roles
The Secure Block interface reflects the user roles you choose