Hardened API and catered for Partner role query filter bypass

This commit is contained in:
2026-10-04 08:18:43 +02:00
parent 8d069c2da0
commit 8100518549
62 changed files with 232 additions and 193 deletions
@@ -10,5 +10,6 @@ public sealed partial class ApplicationDbContextFactory
public long TenantId => 0L;
public bool IsAdmin => true;
public bool HasTenantFilter => false;
public bool ByPassTenantQueryFilter { get; set; } = true;
}
}
@@ -8,6 +8,8 @@ public sealed class TenantContextService : ITenantContextService
public long TenantId { get; }
public bool ByPassTenantQueryFilter { get; set; } = false;
public bool IsAdmin { get; }
public bool HasTenantFilter { get; }