Skip to content

Cherry-pick bf9585d05: feishu auto-grant document permissions#1448

Merged
alexey-pelykh merged 1 commit intomainfrom
cherry-pick/bf9585d05-feishu-doc-grants
Mar 15, 2026
Merged

Cherry-pick bf9585d05: feishu auto-grant document permissions#1448
alexey-pelykh merged 1 commit intomainfrom
cherry-pick/bf9585d05-feishu-doc-grants

Conversation

@alexey-pelykh
Copy link
Copy Markdown

Cherry-pick of upstream openclaw/openclaw@bf9585d05.

PR: Feishu Plugin - Auto-grant document permissions to requesting user (openclaw#28295) thanks @zhoulongchao77

Adds owner_open_id and owner_perm_type parameters to the create action of feishu_doc tool. When provided, auto-grants document permissions to the requesting user after creation.

Conflict resolution: Upstream uses factory-style registerTool(ctx => {...}) while fork uses plain object style. Adapted the new createDoc params to fork's simplified call pattern.

Resolves part of #678.

Cherry-picked-from: bf9585d

openclaw#28295) thanks @zhoulongchao77

Verified:
- pnpm build
- pnpm check
- pnpm test:macmini

Co-authored-by: zhoulongchao77 <[email protected]>
Co-authored-by: Tak Hoffman <[email protected]>
(cherry picked from commit bf9585d)
@alexey-pelykh alexey-pelykh merged commit bd6be8a into main Mar 15, 2026
7 checks passed
@alexey-pelykh alexey-pelykh deleted the cherry-pick/bf9585d05-feishu-doc-grants branch March 15, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants