Skip to content

Commit fb9b8b7

Browse files
authored
chore: Remove release widget flags from the backend (getsentry#40962)
won't merge until getsentry#40960 is deployed
1 parent 0662646 commit fb9b8b7

File tree

4 files changed

+0
-16
lines changed

4 files changed

+0
-16
lines changed

src/sentry/api/endpoints/organization_metrics.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -153,12 +153,6 @@ class OrganizationMetricsDataEndpoint(OrganizationEndpoint):
153153
default_per_page = 50
154154

155155
def get(self, request: Request, organization) -> Response:
156-
if not (
157-
features.has("organizations:metrics", organization, actor=request.user)
158-
or features.has("organizations:dashboards-releases", organization, actor=request.user)
159-
):
160-
return Response(status=404)
161-
162156
projects = self.get_projects(request, organization)
163157

164158
def data_fn(offset: int, limit: int):

src/sentry/conf/server.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1105,8 +1105,6 @@ def SOCIAL_AUTH_DEFAULT_USERNAME():
11051105
"organizations:widget-library": False,
11061106
# Enable metrics enhanced performance in dashboards
11071107
"organizations:dashboards-mep": False,
1108-
# Enable release health widgets in dashboards
1109-
"organizations:dashboards-releases": False,
11101108
# Enable top level query filters in dashboards
11111109
"organizations:dashboards-top-level-filter": True,
11121110
# Enables usage of custom measurements in dashboard widgets

src/sentry/features/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@
7373
default_manager.add("organizations:dashboard-custom-measurement-widgets", OrganizationFeature, True)
7474
default_manager.add("organizations:dashboard-grid-layout", OrganizationFeature, True)
7575
default_manager.add("organizations:dashboards-mep", OrganizationFeature, True)
76-
default_manager.add("organizations:dashboards-releases", OrganizationFeature, True)
7776
default_manager.add("organizations:dashboards-template", OrganizationFeature, True)
7877
default_manager.add("organizations:dashboards-top-level-filter", OrganizationFeature, True)
7978
default_manager.add("organizations:discover", OrganizationFeature)

tests/sentry/api/endpoints/test_organization_metrics.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,6 @@ def test_permissions(self):
8484
response = self.send_get_request(token, *endpoint)
8585
assert response.status_code in (200, 400, 404)
8686

87-
def test_feature_flag(self):
88-
token = ApiToken.objects.create(user=self.user, scope_list=["org:read"])
89-
90-
for endpoint in self.endpoints:
91-
response = self.send_get_request(token, *endpoint)
92-
assert response.status_code == 404
93-
9487

9588
@region_silo_test
9689
class OrganizationMetricsIndexIntegrationTest(OrganizationMetricMetaIntegrationTestCase):

0 commit comments

Comments
 (0)