[feature]: Identity per API token so agent actions aren't attributed to me

Đang mở
#10,370 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@priyankgarala đang làm issue này rồi.

Từ ngày 23/11/2026.

  • #10375 của @priyankgarala — đang mở

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
15/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
django, postgresql, python, typescript

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
63k
Fork
6.5k
Merge trung bình
2 ngày 16 giờ
Pull request đã merge (30 ngày)
70

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của makeplane/plane

Tất cả issue của makeplane/plane

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.