It is possible to allow menu items (just top level menu items, not links to screens) via the @ScreenAccess(screenIds = {"application-petclinic"}) attribute. But this is not documented explicitly in the docs. It is just shown in the demo code:
@ScreenAccess(screenIds = {"application-demo", "demo_Customer.browse", "demo_Customer.edit"})
Adding a section into the docs, that explains the fact that it is necessary to also whitelist the menu items by their keys.
Environment
Description of the bug or enhancement
It is possible to allow menu items (just top level menu items, not links to screens) via the @ScreenAccess(screenIds = {"application-petclinic"}) attribute. But this is not documented explicitly in the docs. It is just shown in the demo code: @ScreenAccess(screenIds = {"application-demo", "demo_Customer.browse", "demo_Customer.edit"})
Adding a section into the docs, that explains the fact that it is necessary to also whitelist the menu items by their keys.