There are plenty of reasons and cases online store owners might want to place the notification about some special offers or sales. Magento gives that opportunity enabling you to create CMS Blocks and display them on different pages of your website as well as create different CMS Pages. However, there is no option that would allow you to "hide" these or that block or page for different customer groups.

Think about it.

You probably have some special info you want to share with the wholesalers or VIP buyers that is not to be displayed to NOT LOGGED IN ones.

That is why Magento 2 CMS Display Rule extension was created for. It allows you to restrict some customers' access to different CMS Blocks/CMS Pages.

In order to configure Magento 2 CMS Display Rules navigate to Store > Configuration > Magefan Extensions > Cms Display Rules, Enable Extension and don't forget to press the Save Config button.

Magento 2 CMS Display Rules extension configuration