FeatureFlags: Remove unused settings for admin UI (#114137)

This commit is contained in:
Ryan McKinley
2025-11-20 13:33:44 +00:00
committed by GitHub
parent f6a1d4a14e
commit c9801fc66e
10 changed files with 703 additions and 1171 deletions
-4
View File
@@ -129,10 +129,6 @@ type FeatureFlag struct {
Stage FeatureFlagStage `json:"stage,omitempty"`
Owner codeowner `json:"-"` // Owner person or team that owns this feature flag
// Recommended properties - control behavior of the feature toggle management page in the UI
AllowSelfServe bool `json:"allowSelfServe,omitempty"` // allow users with the right privileges to toggle this from the UI (GeneralAvailability, PublicPreview, and Deprecated toggles only)
HideFromAdminPage bool `json:"hideFromAdminPage,omitempty"` // GA, Deprecated, and PublicPreview toggles only: don't display this feature in the UI; if this is a GA toggle, add a comment with the reasoning
// CEL-GO expression. Using the value "true" will mean this is on by default
Expression string `json:"expression,omitempty"`