Black Friday Sale!
Save up to 50% off any plans! Valid from 23 Nov to 30 Nov - Also valid for the existing customers
Open Closed

How to show/hide entity on HOST or Tenant side? #8493


0
PMS created

Currently, I am getting an error in an application related to a permission. I created the entity(the name is XYZ) with the Asp.net zero Tool and also added the custom API on the same page. Now I use that custom API in the tenants (the name is ABC and DEF ) side angular page. In menu I have ABC, XYZ & DEF entities and its works perfect !! Now I want just XYZ page in host-side menu and ABC & DEF pages to Tenants after login menu for that I remove both (tenant/host) permission from the class AppAuthorizationProvider.cs and give single permission XYZ to Host and ABC & DEF to Tenant and run the page login with the Tenants and checked its give me an error related o the API from XYZ on ABC & DEF page.


3 Answer(s)
  • 0
    ismcagdas created
    Support Team

    Hi @PMS

    Could you share your Entity class ?

    Thanks,

  • 0
    PMS created

    HI,

    Can you give me your emai so that I can send it there?

    Thanks

  • 0
    ryancyq created
    Support Team

    Hi @PMS,

    please contact info@aspnetzero.com