A new PanelCategory with the following annotation
is not displayed on a role's define permission tab.
The root cause of this is that edit_role_permissions_navigation.jspf uses hardcoded top level PanelCategory-s for "Control Panel", "Site Admin" and "User". This new top level PanelCategory is not listed.
Steps to reproduce:
1. Start up a DXP bundle
2. Log in as admin and create a new regular role: myrole
4. Go to the Define Permissions tab of myrole.
5. Deploy test.jar. You can see the new category next to Control Panel (in the root of the product menu).
6. Go to Define Permissions tab of myrole.
Result: You can not find this category and app anywhere there, so you cannot set permissions for it.
Newly added top-level PanelCategorys should appear in the define permissions tab and permissions for the Portlets under it can be configured. You should see the "Other" category at the bottom of the list.