Base solution for your next web application
Open Closed

Menu for Different Menu for different tenants #11885


User avatar
0
flaskone created

Is this a good method to create different home menus for different tenants without using the rules and permissions? Now I use my class in angular XXXNavigationService and run it in getMenu from AppNavigationService. How to do it correctly.


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @flaskone

    If you don't want to develop a custom implementation, you can use the Feature System, https://aspnetboilerplate.com/Pages/Documents/Feature-Management. Each menu item can have a feature dependeny and you can enable/disable features for each tenant.

  • User Avatar
    0
    flaskone created

    Is this solution a good solution when I have a few different menus? I need a completely different menu for one tenant than for another.

    For example, one tenant has a menu:

    • Tasks
      • View
      • Calculations

    but the second tenant one has:

    • Project
      • Management
      • Generator

    e.t.c.

    In my case, it does not depend on editions.

    I quote info from https://aspnetboilerplate.com/Pages/Documents/Feature-Management Most SaaS (multi-tenant) applications have editions (packages) that have different features. This way, they can provide different price and feature options to their tenants (customers).

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    In that case, you somehow need to keep Menu-Tenant relation in a table and render menus accordingly.