OAuth documentation for GET /api/v2/users/me/ appears inconsistent with required global read scope
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 68/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- typescript
调研方向
从 Developer Docs → API Reference → v2 → Authentication → Who am I 开始,并比较 GET /api/v2/users/me 的 scope 要求与示例响应。检查端点的行为或其源代码,以确定需要哪些 scope,以及会返回哪些 scope。更新示例响应或添加说明,使示例与要求一致。
由索引模型根据 Issue 内容生成。
描述
Page:
Developer Docs → API Reference → v2 → Authentication → Who am I
Problem
The documentation states:
"An OAuth token needs the global read scope; a token with only fine-grained scopes such as projects.states:read cannot call it."
However, the example response for the endpoint shows:
"principal_kind": "oauth",
"scopes": [
"projects.work_items:read",
"projects.states:read"
]
These are only fine-grained scopes, which seems to contradict the statement above.
Question
If GET /api/v2/users/me requires the global read scope, why does the sample response show only fine-grained scopes?
Is this:
an incorrect example response,
expected behavior that needs additional explanation?
Suggested improvement
Either:
Update the sample response to include the required global read scope, or
Add a note explaining why the response displays only fine-grained scopes even though the endpoint requires the global read scope.
Thank you!
- 主要语言
- TypeScript
- 星标
- 61.9k
- 派生
- 6.3k
- 平均合并
- 1 天 18 小时
- 30 天内合并 PR
- 74
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
makeplane/plane 的其他 Issue
-
[bug]: Comment external_id is deduplicated per project instead of per work item可能已有人在做 @MishraTanishq619 于 1 天前认领。 未关闭
难度 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 于 9 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
makeplane/plane#10111 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
makeplane/plane#10082 · 1 条评论 ·
维护者通常 1 天内回复
-
[bug]: Email notifications show a broken avatar for users without a profile photo可能已有人在做 @gurnoorpannu 于 24 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
makeplane/plane#10009 · 1 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
desktop v3 windows
难度 2/5 1-3 小时 新手友好度 75/100
esengine/DeepSeek-Reasonix#15016 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
readest/readest#7413 · 1 条评论 ·
维护者通常 1 天内回复
-
enhancement good first issue priority: medium size: XS
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
content triage
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
eliasstravik/herdr-projects#788 ·