{"version":"2.1.328","anchor":"hook-approver-rule-allows-a-mods-own-call","canonical_anchor":"hook-approver-rule-allows-a-mods-own-call","heading":"Hook approvals can skip a permission check for a mod's own call","tier":"internal","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328\/e\/hook-approver-rule-allows-a-mods-own-call","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328","markdown":"### Hook approvals can skip a permission check for a mod's own call\n\nWhen a hook approves an action for the main agent and the reasons include a mod's own call, not every reason has to pass\n\n**What**\n\nA hook is a script or command you set up to run automatically at certain points, and it can approve actions on your behalf. Before this change, any approval that did not come from you also needed every reason attached to the action to pass a permission check.\n\nNow, when the approval comes from a hook, the action is for the main agent rather than a helper agent, and the reasons include one marking it as a mod's own call, that every-reason check is skipped.\n\n**Why**\n\nThis changes how permissions are decided for plugin mods when a hook is the one approving.\n\n- Area: Hooks\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}