mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-24 16:02:55 +08:00
fix(cli): delete only nested sentinel to preserve other wildcard rules
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user