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.
| 394 | // single plugin may declare several scoped grants; both must be collected |
| 395 | // into PluginRules under the same plugin name, in registration order. |
| 396 | type multiRestrictPlugin struct{} |
| 397 | |
| 398 | func (multiRestrictPlugin) Name() string { return "secaudit" } |
| 399 | func (multiRestrictPlugin) Version() string { return "1.0.0" } |
nothing calls this directly
no outgoing calls
no test coverage detected