I have a customer with custom attribute as merchant. I want to let that customer to see only my custom module features.
How can I restrict a user to some custom features ?
Edit:
Actually I have created custom APIs to buy giftcodes as merchant (customer). I can test these APIs in Magento Swagger UI with customer token. But when I open swagger documentation I can see all custom APIs with that customer token. I am looking a way by which I could show the merchant(customer) only the custom APIs related to giftcode.
There is one custom module responsible for selling giftcodes. How can I create ACL to show a customer
where customer->isMerchant is TRUE