Menu permission for bean

I have a bean in the menu, and I can see this one with admin, but I need to give permission to other role, how ever I can’t see the option in the intellij plugin interface, and olse is not working with code on the @MenuPolicy(menuIds={“beanMenuId”}).
How should I add the permission for see it in the menu?

I found a solutiuon, add the method with a # in the middle, for exemple:

@MenuPolicy(menmiIds = {"beanMenuId#beanMethod"})

But in the UI says doesn’t exist.
image