diff --git a/src/sentry/features/temporary.py b/src/sentry/features/temporary.py index fe83c055a68b44..3af8d9ec6230d2 100644 --- a/src/sentry/features/temporary.py +++ b/src/sentry/features/temporary.py @@ -443,6 +443,8 @@ def register_temporary_features(manager: FeatureManager) -> None: manager.add("organizations:autofix-on-explorer", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True) # Enable Seer Workflows in Slack manager.add("organizations:seer-slack-workflows", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True) + # Additionally allow users with `autofix-on-explorer` flags to use this feature. + manager.add("organizations:seer-slack-workflows-explorer", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True) # Enable new compact issue alert UI in Slack manager.add("organizations:slack-compact-alerts", OrganizationFeature, FeatureHandlerStrategy.FLAGPOLE, api_expose=True) # Enable Seer Explorer in Slack via @mentions diff --git a/src/sentry/seer/entrypoints/operator.py b/src/sentry/seer/entrypoints/operator.py index 5330e86f76b934..ef22b478190907 100644 --- a/src/sentry/seer/entrypoints/operator.py +++ b/src/sentry/seer/entrypoints/operator.py @@ -81,7 +81,9 @@ def has_access( # The explorer autofix pipeline and history is entirely separate, so the runs we trigger # at the moment, won't be visible in-app to users with this flag. # This check can only be removed once this feature migrates to explorer-based autofix. - if features.has("organizations:autofix-on-explorer", organization): + if features.has("organizations:autofix-on-explorer", organization) and not features.has( + "organizations:seer-slack-workflows-explorer", organization + ): return False if entrypoint_key: