You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
In the release note for the v4.2.5, I can see the AuthorizedToSee trait has been added to the MenuSection, MenuItem and MenuGroup classes but the MenuGroup class does not have that trait.
Is it possible to add this trait to the MenuGroup class so it is possible to hide a Group and its Items in cascade?
The behavior would be like the current MenuSection: if I don't authorize to see a section, all the children (groups and items) are hidden.
In my case all my items are hidden because of policies and the group is still displayed but empty. An alternative would be to add a feature to hide the group automatically if it is empty?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Nova version: 4.11.1
Hi!
In the release note for the v4.2.5, I can see the AuthorizedToSee trait has been added to the MenuSection, MenuItem and MenuGroup classes but the MenuGroup class does not have that trait.
Is it possible to add this trait to the MenuGroup class so it is possible to hide a Group and its Items in cascade?
The behavior would be like the current MenuSection: if I don't authorize to see a section, all the children (groups and items) are hidden.
In my case all my items are hidden because of policies and the group is still displayed but empty. An alternative would be to add a feature to hide the group automatically if it is empty?
Beta Was this translation helpful? Give feedback.
All reactions