MCPcopy Index your code
hub / github.com/codeaashu/claude-code / isPluginBlockedByPolicy

Function isPluginBlockedByPolicy

src/utils/plugins/pluginPolicy.ts:17–20  ·  view source on GitHub ↗
(pluginId: string)

Source from the content-addressed store, hash-verified

15 * install chokepoint, enable op, and UI filters.
16 */
17export function isPluginBlockedByPolicy(pluginId: string): boolean {
18 const policyEnabled = getSettingsForSource('policySettings')?.enabledPlugins
19 return policyEnabled?.[pluginId] === false
20}
21

Callers 6

maybeRecordPluginHintFunction · 0.85
installResolvedPluginFunction · 0.85
loadAllPluginsFunction · 0.85
setPluginEnabledOpFunction · 0.85

Calls 1

getSettingsForSourceFunction · 0.85

Tested by

no test coverage detected