Edits to multivariate features in live experiments are not fully restricted

Đang mở
#8,766 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
38/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python, react
Lĩnh vực
api, backend, frontend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Python
Star
7.1k
Fork
603
Merge trung bình
3 ngày 8 giờ
Pull request đã merge (30 ngày)
102

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Flagsmith/flagsmith

Tất cả issue của Flagsmith/flagsmith

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.