Auto-sync MCP broker config from grants
This commit is contained in:
@@ -116,6 +116,10 @@ assert.match(panelSource, /aria-expanded=\{customOpen\}/, 'MCP custom server for
|
||||
assert.match(panelSource, /MCP Security/, 'MCP page must expose sandbox access controls')
|
||||
assert.match(panelSource, /Allow All/, 'MCP security must support allow-all access')
|
||||
assert.match(panelSource, /Allow Only/, 'MCP security must support allow-list access')
|
||||
assert.match(panelSource, /syncSandboxBrokerConfig/, 'MCP configuration grants must sync the sandbox broker config automatically')
|
||||
assert.match(panelSource, /\/api\/sandbox\/\$\{encodeURIComponent\(sandbox\.id\)\}\/mcp/, 'MCP configuration grants must call the sandbox MCP sync endpoint')
|
||||
assert.match(panelSource, /allowed \|\| hasOtherMcpAccess \? "sync" : "revoke"/, 'MCP configuration revokes must preserve broker config when other MCP access remains')
|
||||
assert.match(panelSource, /syncAccessModeChange/, 'MCP availability changes must synchronize sandbox broker policy')
|
||||
assert.match(panelSource, /Setup Guide/, 'MCP catalog cards should link out to app setup guides')
|
||||
assert.match(panelSource, /Client JSON/, 'MCP page must surface generated client JSON')
|
||||
assert.match(sandboxListSource, /Allowed MCP Server Access/, 'Sandbox page must expose allowed MCP server access accordion')
|
||||
|
||||
Reference in New Issue
Block a user