Separate service metadata access from reading raw environment values

オープン
#6,079 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript

調査の方向性

Start by tracing the API endpoints that return Compose and Application environment data, then inspect how API key permissions are checked for project listing and service details. The issue gives no file paths or tests, so locate those entry points and existing authorization tests first. Done means a metadata-only key can inspect service status without receiving environment values, while an explicitly authorized key can still read them; cover both cases in tests.

索引モデルが issue の本文から書いたものです。

説明

enhancement
What problem will this feature address?

We want to give automation and AI agents access to Compose service metadata and deployment status. On our self-hosted instance, an API key that successfully listed projects also received the complete Compose environment block when retrieving service details. We did not verify the key's exact role.

Describe the solution you'd like

Separate permission to read service metadata from permission to read raw environment values. A metadata-only key should be able to list projects and inspect service status while Dokploy omits or redacts environment values before sending the response. Require explicit permission for raw values and enforce this across API responses containing Compose or Application environment data.

An acceptance check could use a test service with a dummy env value. A metadata-only key can read service metadata, but the dummy value never appears in its responses. A separately authorized key can read it.

Describe alternatives you've considered

The official MCP server can redact fields before returning them to the MCP client. A server-side permission would also protect direct API and CLI users.

Related: #2817 (environment value display), #4525 (partial env updates).

主要言語
TypeScript
スター
38.8k
フォーク
3.2k
平均マージ
1日 10時間
マージ済み PR(30日)
110

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Dokploy/dokploy のほかの issue

Dokploy/dokploy の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。