up
This commit is contained in:
@@ -566,6 +566,11 @@ public sealed partial class InMemoryTenantIsolationValidator : ITenantIsolationV
|
||||
TenantAccessOperation operation,
|
||||
CancellationToken cancellationToken = default)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(tenantId))
|
||||
{
|
||||
return Task.FromResult(TenantValidationResult.Denied("Tenant ID is required for validation."));
|
||||
}
|
||||
|
||||
// Check for admin tenant
|
||||
if (IsAdminTenant(tenantId))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user