docs/PermissionPolicy.md
Minimal, per-extension policy that decides whether an extension may link its implementation. API types remain available on the bootstrap classpath so SHIMs can be generated when implementations are blocked.
-Dbtrace.permissions=/path/to/permissions.properties~/.btrace/permissions.properties or ~/.config/btrace/permissions.propertiesMETA-INF/btrace/permissions.propertiesallowExtensions=<id1,id2>: allow specific extension IDs to link implementations.denyExtensions=<id1,id2>: block specific extension IDs (SHIM fallback only).allowPrivileged=true|false: allow all privileged extensions to link implementations.grant=..., deny=..., grantAll=...) remain supported but are not
part of the policy file and are not required for allow/deny decisions.allowExtensions=id1,id2denyExtensions=id3,id4allowPrivileged=falseExample:
allowExtensions=btrace-statsd,my-metrics
denyExtensions=legacy-foo
allowPrivileged=false
allowPrivileged=true, its implementation is blocked (SHIMs
still available).