[docs-scanner] Unclear relationship between sandbox:use PAT permission and granular account permissions
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 88/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- docker
调研方向
打开 content/manuals/ai/sandboxes-api/authentication.md 并阅读“Authenticate automation with a PAT”和“Resource access and permissions”部分。明确 PAT 作用域 sandbox:use 与 sandboxesCreate、sandboxesRead 和 sandboxesDelete 的关系,包括两项检查都会影响每个请求。确认文档说明了如何诊断权限失败。
由索引模型根据 Issue 内容生成。
描述
File: content/manuals/ai/sandboxes-api/authentication.md
Issue
The authentication documentation describes two different permission concepts without explaining their relationship:
-
PAT scope: "When creating the token, select the
sandbox:usepermission in your Docker account's personal access token settings." -
Account permissions: "Each request also checks whether you have permission for the action on the target resource. For example, creating a sandbox requires
sandboxesCreate, reading it requiressandboxesRead, and deleting it requiressandboxesDelete."
The document never clarifies:
- Does the
sandbox:usePAT scope grant all the granular permissions (sandboxesCreate,sandboxesRead, etc.)? - Are the granular permissions separate account-level settings that must also be configured?
- If a PAT has
sandbox:usebut the account lackssandboxesCreate, what happens?
Why this matters
A reader setting up authentication needs to know:
- Whether selecting
sandbox:useis sufficient for all sandbox operations - Whether additional account configuration is required beyond creating the PAT
- How to diagnose permission errors (is it the PAT scope or the account permission?)
The current text suggests these are related but doesn't explain the relationship, leaving readers uncertain whether they've completed the setup correctly.
Suggested fix
Add a clarifying sentence in the "Authenticate automation with a PAT" section:
When creating the token, select the
sandbox:usepermission in your Docker account's personal access token settings. This scope grants access to all sandbox operations, subject to your account's permissions. The API checks both the PAT scope and your account permissions for each request.
Or add a subsection under "Resource access and permissions" that explicitly states:
The
sandbox:usePAT scope authorizes your application to act on your behalf. Your account's permissions (sandboxesCreate,sandboxesRead, etc.) then determine which operations succeed. Both the PAT scope and the account permission must allow the action.
Found by nightly documentation quality scanner
- 主要语言
- Markdown
- 星标
- 4.7k
- 派生
- 8.5k
- 平均合并
- 1 天 18 小时
- 30 天内合并 PR
- 127
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
docker/docs 的其他 Issue
-
难度 1/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
status/triage
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
-
Instructions no longer valid可能已有人在做 @aevesdocker 于 6 天前认领。 未关闭status/triage
难度 1/5 1 小时以内 新手友好度 85/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 95/100
维护者通常 1 天内回复
相似的 Issue
-
sync-en
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
community-request
难度 1/5 1 小时以内 新手友好度 95/100
NVIDIA-NeMo/Curator#2464 · 1 条评论 ·
维护者通常 1 天内回复
-
good first issue hacktoberfest
难度 2/5 1-3 小时 新手友好度 87/100
elnachto/laya-triage#5 ·
-
external
难度 2/5 1-3 小时 新手友好度 72/100
langchain-ai/docs#6328 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
futureverse/future#838 ·