openclaw/extensions/talk-voice
Jacob Tomlinson e34694733f
fix(talk-voice): enforce operator.admin scope on /voice set config writes (#54461)
* fix(talk-voice): enforce operator.admin scope on /voice set config writes

* fix(talk-voice): align scope guard with phone-control pattern

Use optional chaining (?.) instead of Array.isArray so webchat callers
with undefined scopes are rejected, matching the established pattern in
phone-control. Add test for webchat-with-no-scopes case.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 19:55:26 +00:00
..
api.ts refactor: prune bundled sdk facades 2026-03-19 07:17:04 +00:00
index.test.ts fix(talk-voice): enforce operator.admin scope on /voice set config writes (#54461) 2026-03-25 19:55:26 +00:00
index.ts fix(talk-voice): enforce operator.admin scope on /voice set config writes (#54461) 2026-03-25 19:55:26 +00:00
openclaw.plugin.json Gateway/Plugins: device pairing + phone control plugins (#11755) 2026-02-08 18:07:13 +01:00