feat(access): blocked workspace members are refused (portal#74) (#471)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 7m28s
CI / Deploy Dashboard (push) Successful in 5m12s
CI / Deploy MCP (push) Successful in 3m30s

This commit was merged in pull request #471.
This commit is contained in:
sharang committed 2026-10-05 22:21:20 +00:00
1 parent 788c57094e
commit 0e7a138cd4
11 files changed
+273 -8

No files matched your search

+1 -1
View File
@@ -191,7 +191,7 @@ pub async fn automation_allowed(agent: &ComplianceAgent, tenant_id: &str) -> Res
}
return Ok(());
};
let check = registry.check_entitlement(tenant_id, None).await?;
let check = registry.check_entitlement(tenant_id, None, None).await?;
if !check.allowed {
return Err(format!(
"not entitled: {}",