Split MCP and approval agent keys

This commit is contained in:
github-ops committed 2026-06-24 10:31:52 +00:00
1 parent d739f17393
commit 5922aea68f
16 files changed
+471 -56

No files matched your search

+3
View File
@@ -130,6 +130,9 @@ fn allows_scope(scopes: &[PlatformApiKeyScope], required_scope: PlatformApiKeySc
PlatformApiKeyScope::Deploy => scopes
.iter()
.any(|scope| matches!(scope, PlatformApiKeyScope::Deploy)),
PlatformApiKeyScope::Approve
| PlatformApiKeyScope::Deny
| PlatformApiKeyScope::ReadPending => false,
}
}