[feature]: Identity per API token so agent actions aren't attributed to me
维护者通常 1 天内回复
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 15/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- django, postgresql, python, typescript
调研方向
This is a design request, not a scoped change: start by reading how API tokens are modeled and how token authentication resolves the acting user, then follow how the resolved user is written into activity, work item history and comment authorship. The concrete target is that a token created with a name like planner-agent records that name as the actor instead of the token owner, while existing OAuth-app bot tokens keep working. Expect a schema and API surface decision before any code, so a maintainer should shape the approach first.
由索引模型根据 Issue 内容生成。
描述
Is there an existing issue for this?
- I have searched the existing issues
Summary
Every API token acts as the person who created it. When I create an API token for my agent, the agent acts on my behalf: issues it creates, comments it posts, and updates it makes are all recorded as mine. I'd like a token to have its own identity, so I can tell that the agent made an action and not me, and so I can track which agent did what.
Why should this be worked on?
I run several agents against Plane (CLI agents, MCP servers), each with its own API token. Today they are indistinguishable from me and from each other: the activity feed, work item history, and comments all show my name. If I could name a token and have it act as its own actor (something like a bot/agent identity), then:
- I could see which changes an agent made versus which ones I made.
- I could see which specific agent made a change.
- Revoking one agent's token wouldn't affect the token I use myself.
Concrete example: I create an API token called planner-agent for my agent, and work items it creates show planner-agent as the author instead of me.
Note: Plane Apps / bot tokens exist, but they require registering an OAuth app with setup/redirect/webhook URLs and installing it. For a local agent that just needs a static API token, there's no way to get a separate identity. That's the gap I'm asking about.
- 主要语言
- TypeScript
- 星标
- 63k
- 派生
- 6.5k
- 平均合并
- 2 天 16 小时
- 30 天内合并 PR
- 70
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
makeplane/plane 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
[bug]: Comment external_id is deduplicated per project instead of per work item可能已有人在做 @MishraTanishq619 于 21 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
makeplane/plane#10195 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
Missing optional chaining on actor_details and reaction_items in apps/space reactions and votes可能已有人在做 @ghazy2001 于 29 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
makeplane/plane#10111 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
makeplane/plane#10082 · 1 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
good first issue help wanted
难度 2/5 1 小时以内 新手友好度 86/100
Intelligenza-Umana/intelligenza-umana-web#16 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
open-webui/open-webui#35184 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
danielmiessler/LifeOS#3001 ·
维护者通常 5 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复