How to restrict Gutenberg block settings based on user

[ad_1]

I would like to give my customer the ability to change specific settings and block everything else. For example I want to allow them to change background color and text color but nothing else.

Is there a good blocks theme or plugin that can do this or am I expecting too much from a block based theme? Would this be really difficult to do with custom code?

​

* I know I can lock a block to prevent movement
* this doesn’t affect settings such as margin.

​

* Can edit the block to remove any settings altogether.
* This won’t work because I want the ability to edit the settings I just don’t want specific users/roles to be able to.

​

https://preview.redd.it/v9gm4pajnsoc1.png?width=269&format=png&auto=webp&s=53098109b97574ee02fd0c366f55bbc0b5e33616

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer