Browse Source

chore(rollback): register settings for rollback (#81000)

flag created in
https://github.com/getsentry/sentry-options-automator/pull/2720
Michael Sun 3 months ago
parent
commit
c2a2c54a13
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/sentry/features/temporary.py

+ 2 - 0
src/sentry/features/temporary.py

@@ -370,6 +370,8 @@ def register_temporary_features(manager: FeatureManager):
     manager.add("organizations:reprocessing-v2", OrganizationFeature, FeatureHandlerStrategy.INTERNAL, api_expose=False)
     # Enable Sentry's 2024 Rollback feature
     manager.add("organizations:sentry-rollback-2024", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True)
+    # Enable Sentry's 2024 Rollback toggle within organization settings
+    manager.add("organizations:sentry-rollback-settings", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True)
     # Enable resolve in upcoming release
     # TODO(steve): Remove when we remove the feature from the UI
     manager.add("organizations:resolve-in-upcoming-release", OrganizationFeature, FeatureHandlerStrategy.OPTIONS, api_expose=True)