Edits to multivariate features in live experiments are not fully restricted

Offen
#8,766 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
38/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
python, react
Bereich
api, backend, frontend

Rechercherichtung

The issue names no files. Start by finding where multivariate option validation runs today, which the issue says happens only in the frontend at environment level, and where a feature's participation in a live experiment is determined. The work adds a server-side rejection for new options and variant-key edits on such features, plus a matching frontend block. Done means the API returns an error for adding an option to a feature in a live experiment, and the UI prevents it. The scope question in the issue (edits, removals, variant keys) is still open, so confirm it with maintainers first.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Currently, option validation only happens in the frontend, at the environment level. There's nothing restricting the users from adding a new multivariate option to a feature participating in an ongoing experiment.

To scope/confirm: should apply to option edits (including variant key via API), removals.

Acceptance criteria
  • API rejects adding new multivariate options to features if they are part of a live experiment.
  • FE disallows adding new multivariate options to features if they are part of a live experiment.
Vorherrschende Sprache
Python
Sterne
7.1k
Forks
603
Ø Merge
3 T. 8 Std.
Gemergte PRs (30 T.)
102

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Flagsmith/flagsmith

Alle Issues in Flagsmith/flagsmith

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.