PDA

View Full Version : Suggestion: Hide menu item when no child items active



Torben Lund
7-Mar-2014, 03:41 AM
The class cWebMenuItemLoadView has a property pbHideViewWhenNoAccess. This property allows the menu item to be hidden when the user has no access to the corresponding view.

The class cWebMenuItem does not have a similar property, but it would be useful if a property could hide the menu item if none of the subitems are visible.

(Like having a "System" item in the menu bar, and this item has subitems that are only accessible by a logged in superuser. In this case other users should not be able to see the "System" item in the menu bar.)