MCPcopy
hub / github.com/larksuite/cli / multiRestrictPlugin

Struct multiRestrictPlugin

internal/platform/host_test.go:396–396  ·  view source on GitHub ↗

multiRestrictPlugin calls r.Restrict twice -- the multi-rule case. A single plugin may declare several scoped grants; both must be collected into PluginRules under the same plugin name, in registration order.

Source from the content-addressed store, hash-verified

394// single plugin may declare several scoped grants; both must be collected
395// into PluginRules under the same plugin name, in registration order.
396type multiRestrictPlugin struct{}
397
398func (multiRestrictPlugin) Name() string { return "secaudit" }
399func (multiRestrictPlugin) Version() string { return "1.0.0" }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected