Base solution for your next web application
Open Closed

Disable access to page if specific feature tag is enabled for tenant #10761


User avatar
0
razkhan78 created

Hi

We are using AspNetZero (Paid) Product version --> 4.0 Product type --> MVC Product framework type --> .net core

Is there any way with which we can disable access to specific page if tenant is setup with specific feature tag?


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

    Hi @razkhan78

    This is only possible if a feature is disabled for the tenant. Does that work for your case ?

    Thanks,

  • User Avatar
    0
    razkhan78 created

    @ismcagdas "This is only possible if a feature is disabled for the tenant. Does that work for your case ?" -- This is how it is we know. But need to confirm if there is way " if tenant is setup (ENABLED) with specific feature tag" can we disable some page access?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Menu items are retrieved here. After getting the items, you can filter items with your custom logic.

    You can try to extend UserMenuItem and replace UserNavigationManager, but this option will be harder to implement.