Skip to content
This repository was archived by the owner on Aug 11, 2020. It is now read-only.

mattwatsoncodes/secure-blocks-for-gutenberg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Secure Blocks for Gutenberg

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

Build Notes

Install Webpack globally: npm install --global webpack

Build with npm run dev or npm run build

About

Secure your content in the editor by user role with Secure Blocks for Gutenberg

Resources

License

Stars

Watchers

Forks

Packages

No packages published