cuba-platform / documentation

CUBA Platform Documentation
https://www.cuba-platform.com
Creative Commons Attribution 4.0 International
25 stars 45 forks source link

Document the necessity to whiltelist the root menu items in screen permissions #696

Closed knstvk closed 3 years ago

knstvk commented 4 years ago

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.