Personal Telegram developer console for GitHub

feat: enforce approved write dispatch in plugin router

davoodmehraban89 committed Oct 3, 2026 at 05:34 UTC 47afd83732e304ac3c55a34ec0af0b145c62d21e
1 file changed +2 -1
src/core/router.js
+2 -1
@@ -31,7 +31,8 @@ export class PluginRouter {
31 const action = registeredAction?.pluginId === pluginId ? registeredAction : null;
32 const decision = this.policy.evaluate({
33 action,
34 - isOwner: context.isOwner === true
34 + isOwner: context.isOwner === true,
35 + approved: context.approved === true
36 });
37
38 this.audit.log({