Repository navigation
feat(feishu): add a no-messages tier to Connect Feishu and shorten its card - #88
Merged
Merged
Conversation
…s card The fourth tier is the middle tier without the messages and groups domain: it asks for no im: permission or search:message, and the server refuses every /im/ API for it whatever Feishu granted. The Feishu app page shows whether an app supports it. The selection card is now four buttons and one line of notes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
no_messages, "all permissions except messages". It is tier 2 without the messages and groups domain. It requests noim:permission and nosearch:message, and it drops the message-read set that tiers 1 and 2 add. The server refuses every/im/API for this tier, whatever Feishu granted, so older message grants cannot reach chats. Calendar, mail, tasks, docs, sheets, Base, wiki, contacts, approvals, OKR and attendance behave as in tier 2, and there is still no sending.authorization_levelis plain text with no check constraint.Test plan
pytest -n 4: 2702 passed/im/even with granted scopes, and can still write calendar events and read docsruff,vue-tsc,eslint, and vitest for FeishuAppPanel and MyFeishuView🤖 Generated with Claude Code