Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ scope,全在 can-api 的 `internal/oauth/registry.go`。应用名称去除首
1–120 个 UTF-8 字节;`invalid_name` 显示四语言提示,`name_reserved` 和其他错误
仍显示上游 `message`。前端不重复校验。

应用注册和编辑表单可选 `flightplan` 权限,用于读取、提交和撤销飞行计划,以及管理 SimBrief 关联和导入。

**停用和启用走独立端点。** 应用卡片发送
`POST /api/clients/{id}/disabled`,服务端转到 can-api 的
`POST /api/v1/dev/clients/{id}/disabled`。请求体的 `disabled` 是必填布尔值;
Expand Down
4 changes: 4 additions & 0 deletions language/en-us.json
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,10 @@
"title": "Controlling records",
"detail": "Positions, durations, rating changes."
},
"flightplan": {
"title": "Manage flight plans",
"detail": "Read, file, and cancel a member’s flight plan. Link or unlink their SimBrief account and import plans from it."
},
"offline_access": {
"title": "Offline access",
"detail": "Keeps working after the member closes the browser, until they revoke it. Do not ask for it unless you are sure."
Expand Down
4 changes: 4 additions & 0 deletions language/ja-jp.json
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,10 @@
"title": "管制記録",
"detail": "ポジション、時間、レーティングの変更。"
},
"flightplan": {
"title": "フライトプランの管理",
"detail": "メンバーのフライトプランを取得、提出、取り消しできます。SimBrief アカウントの連携・解除や、プランの取り込みもできます。"
},
"offline_access": {
"title": "オフラインアクセス",
"detail": "メンバーがブラウザーを閉じたあとも、取り消されるまでアクセスできます。確信がなければ要求しないでください。"
Expand Down
4 changes: 4 additions & 0 deletions language/zh-cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,10 @@
"title": "管制记录",
"detail": "席位、时长、等级变化。"
},
"flightplan": {
"title": "管理飞行计划",
"detail": "读取、提交和撤销成员的飞行计划,绑定或解绑 SimBrief 账号,并从中导入计划。"
},
"offline_access": {
"title": "离线访问",
"detail": "成员关掉浏览器后仍可访问,直到他撤销。没有把握就别要。"
Expand Down
4 changes: 4 additions & 0 deletions language/zh-tw.json
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,10 @@
"title": "管制紀錄",
"detail": "席位、時長、等級變化。"
},
"flightplan": {
"title": "管理飛航計畫",
"detail": "讀取、提交及撤銷成員的飛航計畫,連結或解除連結其 SimBrief 帳號,並從中匯入計畫。"
},
"offline_access": {
"title": "離線存取",
"detail": "成員關掉瀏覽器後仍可存取,直到他撤銷。沒有把握就別要。"
Expand Down
1 change: 1 addition & 0 deletions src/pages/apps/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ const SCOPE_NAMES = [
"divisions",
"flights:read",
"atc:read",
"flightplan",
"offline_access",
] as const;

Expand Down
Loading