Customer Catalog Permission (M2) - How To - Add Customer CMS Page Restrictions
How To Add A Customer CMS Page Restriction
To create a new restriction, click on the Add New Restriction button above the list of restrictions available following CATALOG → Catalog → Catalog Permissions.
Select Restriction Type
Let's select the type Customer CMS page restriction and fill in the required fields. Once you choose the type, a more detailed description will appear below the type. You can customize the message in the General Settings.
All types of restrictions have three sections:
General - includes a status, redirect path and notification message.
User Selection - allows choosing customers or customer groups to limit access to.
CMS Page Selection - allows choosing categories (products or pages) to be hidden for the selected customers or groups.
Customer CMS Page Restriction
This type provides the following settings:
Is Active - to make the restriction visible for the customer, enable the setting. If you need to disable the restriction, set it as Inactive.
Redirect Path - enter a path the user will be redirected to once the restricted page is selected. If you don't enter the path, the customer will be redirected to Homepage.
Notification message - allows entering a notification message visible for the user after redirection.
By using this type you can select a customer in the list as well as apply filters to find the user.
ID - shows the user's ID.
First Name - displays the user's first name.
Last Name - displays the user's last name.
Email - shows the user's email.
CMS Pages for access restriction
List of CMS Pages - choose the categories that won't be visible for the selected customer. You can add multiple pages in bulk.
Click the Save button to save the changes.
This is how the customer CMS Page restriction works on the Frontend.