Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "ajawabra"

Hello, I have tried overriding AbpDbContext but it seems that AbpSession doesn't include the TenantId at this point, i'm not sure where is the best place to override this method that allows me to respect the "DependencyLifeStyle" of Transient so i can check that on every request

I would like to disable filters for Tenants based on current Tenant id, i can acheave that for specific methods, but i would like to apply that for specfic Serivces, simliar to global filter disabling but based on the current Tenant Id

the model i want to apply is: Having Super Admin "Default Tenant" Tenant Users Customers Products so i would like to view all products regardless which tenant it belongs to only for Admin "Default Tenant" and for customers which they will belong to Defualt tenant as well

i have tried Global Filter disabling but i disables it for all the tenants also using CurrentUnitOfWork insdie the service for every single endpoint / method is too much work

Thanks

Showing 1 to 2 of 2 entries