Hi,
Or you mind to explain about the multi-tenant data isolation?
Ok, if the entity implements a
IMultiTenant
interface. a tenant(and host) can not access to data of another tenant by default.https://docs.abp.io/en/abp/latest/Multi-Tenancy#imultitenant
You can check the
TenantId
value in the database table record.According to your case, the ApiSecret
3a0f98fc-179f.....
's TenantId should be3a0f9797-934e-16b0....
Okay, I think this is the main issue causing me unable to get this current tenant's record from Repository.
Anyway to access tenants's data through grpc? or grpc only can get host
data?
I did try debug and those keys are in position, just not sure why the repository does not give any results. Even I use FirstOrDefaultAsync()
, still it returns empty. But i double check with my ApplicationAppService, that one works fine. Still cant figure out what is the issue. Or you mind to explain about the multi-tenant data isolation?