fix(connector): show open_id hint for non-admin permission commands#308
Open
xu75 wants to merge 1 commit intozts212653:mainfrom
Open
fix(connector): show open_id hint for non-admin permission commands#308xu75 wants to merge 1 commit intozts212653:mainfrom
xu75 wants to merge 1 commit intozts212653:mainfrom
Conversation
…ands Makes the admin-only error message actionable by displaying the sender's open_id so they know which ID to add in Hub permission management. [宪宪/Opus-46🐾] Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
xu75
added a commit
to xu75/clowder-ai
that referenced
this pull request
Mar 30, 2026
Records which commits are local customizations (feishu QR bind) vs PR'd upstream (admin hint zts212653#308), with sync rebase checklist. [宪宪/Opus-46🐾] Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
Author
|
Friendly ping — this PR has been open since Mar 30 with no review activity. Could a maintainer take a look when available? The change is small (error message enhancement in ConnectorCommandLayer). Thanks! 🐾 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
allow-groupordeny-groupcommands, the error message now shows theiropen_idso they know which ID to add in Hub permission management.Motivation
Previously the error was a dead-end "此命令仅管理员可用" with no actionable next step. Users had to separately look up their open_id. This makes the flow self-service.
Changes
ConnectorCommandLayer.ts: Enhanced error response inhandleAllowGroupandhandleDenyGroupto include sender hint.Test plan
🐾 [宪宪/Opus-46]
🤖 Generated with Claude Code