hermes-agent/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide
Frowtek 222772ad61 fix(gateway): bridge nested DingTalk allowed_users into auth env
The DingTalk docs offer gateway.platforms.dingtalk.extra.allowed_users
as the config.yaml alternative to DINGTALK_ALLOWED_USERS. The adapter
honors it (_load_allowed_users reads PlatformConfig.extra), but gateway
authorization (_is_user_authorized in gateway/authz_mixin.py) only
consults the env var, and load_gateway_config() bridged the allowlist
to the env var only from a top-level dingtalk: block. A nested-only
allowlist therefore passed the adapter and was then denied at the
gateway - listed users fell through to pairing/default-deny in DMs.

Extend the DingTalk YAML->env bridge to fall back to the merged nested
platform config (gateway.platforms / platforms), mirroring the existing
platforms.discord.extra.allow_from precedent. Precedence is unchanged:
an explicit DINGTALK_ALLOWED_USERS env var still wins, then the
top-level dingtalk: block, then the nested extra.

Also correct the docs' claim that the two allowlists are "merged" when
both are set - that behavior never existed (the doc line came from a
docs-only sweep); the effective result is the intersection of the two
gates, so the docs now recommend configuring one or the other.

Repro (before): config.yaml containing only the nested allowlist ->
adapter._is_user_allowed("user-id-1") is True but
runner._is_user_authorized(...) is False. After: both True; unlisted
users are still denied.
2026-07-20 05:39:24 -07:00
..
features fix(supermemory): complete self-hosted endpoint routing 2026-07-20 00:40:40 -07:00
messaging fix(gateway): bridge nested DingTalk allowed_users into auth env 2026-07-20 05:39:24 -07:00
secrets docs(i18n): translate all docs into Simplified Chinese (zh-Hans) (#31942) 2026-05-25 01:47:38 -07:00
skills feat(reasoning): add max and ultra effort levels (#62650) 2026-07-12 00:26:49 -07:00
checkpoints-and-rollback.md docs(i18n): translate all docs into Simplified Chinese (zh-Hans) (#31942) 2026-05-25 01:47:38 -07:00
cli.md docs(i18n): port deep-audit corrections to zh-Hans mirror (#41104) 2026-06-07 01:57:18 -07:00
configuration.md feat(reasoning): add max and ultra effort levels (#62650) 2026-07-12 00:26:49 -07:00
configuring-models.md docs(i18n): port deep-audit corrections to zh-Hans mirror (#41104) 2026-06-07 01:57:18 -07:00
docker.md fix(docker): replace dashboard --insecure with basic-auth provider 2026-06-21 19:05:27 -07:00
git-worktrees.md docs(i18n): port deep-audit corrections to zh-Hans mirror (#41104) 2026-06-07 01:57:18 -07:00
profile-distributions.md docs(i18n): translate all docs into Simplified Chinese (zh-Hans) (#31942) 2026-05-25 01:47:38 -07:00
profiles.md docs(profile): update clone-from references 2026-06-13 07:33:58 -07:00
security.md feat: make smart approvals the default (#62661) 2026-07-12 00:25:55 -07:00
sessions.md docs(sessions): unify export docs under one overview section (#60554) 2026-07-07 16:29:27 -07:00
tui.md docs(tui): correct HERMES_TUI_GATEWAY_URL — dashboard-internal, not remote-attach (#42162) 2026-06-08 09:37:03 -07:00
windows-native.md fix(docs): update all install instructions everywhere 2026-06-04 21:07:45 -04:00
windows-wsl-quickstart.md fix(docs): update all install instructions everywhere 2026-06-04 21:07:45 -04:00