diff --git a/ee/api/feature_flag_role_access.py b/ee/api/feature_flag_role_access.py index f0bd176484ee4..6d03c7a4f361c 100644 --- a/ee/api/feature_flag_role_access.py +++ b/ee/api/feature_flag_role_access.py @@ -77,7 +77,7 @@ class FeatureFlagRoleAccessViewSet( permission_classes = [FeatureFlagRoleAccessPermissions] serializer_class = FeatureFlagRoleAccessSerializer queryset = FeatureFlagRoleAccess.objects.select_related("feature_flag") - filter_rewrite_rules = {"team_id": "feature_flag__team_id"} + filter_rewrite_rules = {"project_id": "feature_flag__team__project_id"} def safely_get_queryset(self, queryset): filters = self.request.GET.dict()