fix(cli): delete only nested sentinel to preserve other wildcard rules

This commit is contained in:
Alex Alecu
2026-04-15 14:31:39 +03:00
parent 624be2310d
commit 3d74441b7e
@@ -54,7 +54,7 @@ export const PermissionKilocodeRoutes = lazy(() =>
return c.json(true)
}
await Config.updateGlobal({ permission: { "*": null } }, { dispose: false })
await Config.updateGlobal({ permission: { "*": { "*": null } } }, { dispose: false })
await Permission.allowEverything({ enable: false })
await Bus.publish(Event.ConfigUpdated, {})
return c.json(true)