This question has been flagged
1 Reply
3357 Views

Hi all,

I am looking to restrict access to certain menu items for a custom group, but am not sure where to get the technical name for it. Looking at sale_view.xml I see groups such as base.group_multi_company, or product.group_sale_pricelist, which correspond to the groups I can search for, but I cannot seem to find a similar name to my custom groups. Any idea how to set that? Or is there a better way to add custom groups than the UI? Thanks!

Avatar
Discard
Best Answer

Hi Alex,

Better way to impliment groups is making it using xml file with its technical (External ID) name as like in sale, purchase etc modules. 

But if you want to see the technical name of any groups then you just need to export those groups. In the export file you will get the Technical (External ID) name of those groups. Most of first column is for that. And then you can use that Technical (External ID) to restrict access to certain menu items.

I hope it will help you.

Avatar
Discard
Author

Ah, why didn't I think of exporting? That sounds work, thanks :)