Hi,
I want to design the function that tenant with different edition have different navigation, I think this can be implemented by feature, but I just see the navigation item just judge pemissions of user roles. Can you tell me how to control navigation with feature?
.AddItem(
new MenuItemDefinition(
"UserManagement",
new LocalizableString("UserManagement", "SimpleTaskSystem"),
url: "/Administration/Users",
icon: "fa fa-users",
requiredPermissionName: "SimpleTaskSystem.Permissions.UserManagement"
)
)
thank you.
Hi, the MenuItemDefinition has a property called featureDependency, you can set the features needed for the menu to be displayed.

Roles and menu items and features and how they come together is a little cloogy if you ask me.
+1
Most helpful comment
Hi, the MenuItemDefinition has a property called featureDependency, you can set the features needed for the menu to be displayed.