Skip to content

Hide customer Grid columns based on the user roles Magento 2.4.6

We want restrict Sales Representative users viewing the customer information like E-mail, Name address on the customer grid using js. Have tried and component to columns from customer_form.xml it is breaking. If someone has already made such customization could you please share me the reference or guide me the path Please. Thanks in advance.