Skip to main content

Module security

Module security 

Source
Expand description

Security gate trait for plugin host function calls.

Decouples the plugin WASM runtime from the full security interceptor stack. Test implementations (AllowAllGate, DenyAllGate) are provided for unit testing. A concrete [SecurityInterceptorGate] adapter wrapping astrid-approval’s SecurityInterceptor is available behind the approval feature flag.

Structs§

AllowAllGate
Security gate that permits all operations (for testing).
DenyAllGate
Security gate that denies all operations (for testing).

Traits§

PluginSecurityGate
Security gate for plugin host function calls.