feat(mcp): add resource group scopes with permission inheritance

This commit is contained in:
二丫讲梵 authored and GitHub committed 2026-09-07 02:18:28 +08:00
1 parent 2eaf7f9914
commit 691ecd084b
31 files changed
+2398 -1047

No files matched your search

+8
View File
@@ -250,12 +250,20 @@ export interface McpGlobalPolicy {
readOnly: boolean;
allowDangerousSql: boolean;
allowedConnectionIds: string[] | null;
allowedGroupIds: string[];
allowedToolNames: string[] | null;
connectionPolicies: McpConnectionPolicy[];
groupPolicies: McpGroupPolicy[];
configured: boolean;
queryTimeoutSecs: number | null;
}
export interface McpGroupPolicy {
groupId: string;
readOnly: boolean;
allowDangerousSql: boolean;
}
export interface McpConnectionPolicy {
connectionId: string;
readOnly: boolean;