docs(feishu): clarify oc_ group allowlist vs ou_ command allowFrom for /reset (#26835)

* docs(feishu): clarify oc_* group allowlist vs ou_* command allowFrom

* docs(feishu): avoid direct edits to generated zh-CN docs

---------

Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
This commit is contained in:
longfros
2026-02-28 12:30:05 +08:00
committed by GitHub
parent 4f8a54eeaa
commit 6e645300a8

View File

@@ -317,14 +317,36 @@ After approval, you can chat normally.
}
```
### Allow specific users in groups only
### Allow specific groups only
```json5
{
channels: {
feishu: {
groupPolicy: "allowlist",
groupAllowFrom: ["ou_xxx", "ou_yyy"],
// Feishu group IDs (chat_id) look like: oc_xxx
groupAllowFrom: ["oc_xxx", "oc_yyy"],
},
},
}
```
### Allow specific users to run control commands in a group (e.g. /reset, /new)
In addition to allowing the group itself, control commands are gated by the **sender** open_id.
```json5
{
channels: {
feishu: {
groupPolicy: "allowlist",
groupAllowFrom: ["oc_xxx"],
groups: {
oc_xxx: {
// Feishu user IDs (open_id) look like: ou_xxx
allowFrom: ["ou_user1", "ou_user2"],
},
},
},
},
}