feat(access): blocked workspace members are refused (portal#74) (#471)
This commit was merged in pull request #471.
This commit is contained in:
1 parent
788c57094e
commit
0e7a138cd4
11 files changed
+273
-8
No files matched your search
@@ -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: {}",
|
||||
|
||||
Reference in new issue
Block a user