Epic: Add granular trait control for client-side SDKs
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 32/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- python, react
- 領域
- full-stack
調査の方向性
Environment settings UI と既存の allow_client_traits 設定から始め、Edge API の動作と Core API の動作を比較し、#6739 と Edge API #546 を確認します。Persist が allow_client_traits を制御し、Use in evaluation が allow_client_traits_in_evaluation を制御し、SaaS 専用の grandfathering によって既存の無効な環境が維持され、新しい環境では意図した動作が使用されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
The Edge API uses client-sent traits for segment evaluation even when allow_client_traits is disabled — a security gap that lets untrusted clients influence segment matching. The Core API correctly drops these traits.
Rather than silently changing evaluation behaviour for ~2% of paid SaaS customers who have this toggle disabled, we're adding a new environment-level field allow_client_traits_in_evaluation with a grandfathering SaaS-only migration so existing environments keep working while new environments get correct behaviour.
The Environment settings UI should reflect the new field and include a section that allows to define a policy in regards to traits sent over by client-side SDKs:
- The existing allow_client_traits should be controlled by the "Persist" toggle.
- The new allow_client_traits_in_evaluation field should be controlled by "Use in evaluation" toggle.
References
- Original report: #6739
- Edge API issue: https://github.com/Flagsmith/edge-api/issues/546
- Docs/frontend PR (on hold): #6782
- Slack thread with CS team discussion
- 主要言語
- Python
- スター
- 9.9k
- フォーク
- 658
- 平均マージ
- 1日 15時間
- マージ済み PR(30日)
- 168
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Flagsmith/flagsmith のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Flagsmith/flagsmith#9119 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Fix Button Alignment in SDK Installation Section対応中かも @manueldezman が 3 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Flagsmith/flagsmith#9056 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Cloud Python warehouse snippet omits the import needed by its short-lived-job guidance対応中かも @jcd1991 が 4 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
Flagsmith/flagsmith#9045 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Expose whether an organisation is blocked for API usage対応中かも @PiUnknown が 38 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Flagsmith/flagsmith#8773 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
influx_query_manager doesn't catch ApiException, so Influx error responses 500対応中かも @SAY-5 が 13 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Flagsmith/flagsmith#8510 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
Flagsmith/flagsmith の issue をすべて見る
似ている issue
-
claude-subscription-directsdk: tool calls with raw control characters in string values are droppedオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
NousResearch/hermes-official-plugins#538 ·
メンテナーはふだん 3 日以内に返信
-
bug(qdiffusion): EnergyModel.score_visible_logits computes biased visible/hidden on-ratios when solver returns variable solution counts per candidate対応中かも @houzhongyu が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
qboson/kaiwu-pytorch-plugin#2133 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
MakazhanAlpamys/Soup#3415 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信