## Bug description

I have lost edit permissions to a [dashboard I created](https://app.posthog.com/dashboard/28987), despite still being listed as the owner of the dashboard

## Expected behavior

I should still be able to edit the dashboard

## How to reproduce

I noticed this problem after adding a new insight, but this doesn't appear to be the cause of the issue. I've duplicated the dashboard to restore access and adding a new insight didn't appear to cause the issue 

## Environment

- [x] PostHog Cloud
- [ ] self-hosted PostHog (ClickHouse-based), version/commit: _please provide_
- [ ] self-hosted PostHog (Postgres-based, legacy), version/commit: _please provide_

## Additional context

#### *Thank you* for your bug report – we love squashing them!

posthog/api/insight.py
result = self.calculate_path(request)
        return Response(result)
    @cached_function
    def calculate_path(self, request: request.Request) -> Dict[str, Any]:
        team = self.team
        filter = PathFilter(request=request, data={"insight": INSIGHT_PATHS}, team=self.team)
        funnel_filter = None
        funnel_filter_data = request.GET.get("funnel_filter") or request.data.get("funnel_filter")
        if funnel_filter_data:
            if isinstance(funnel_filter_data, str):
                funnel_filter_data = json.loads(funnel_filter_data)
            funnel_filter = Filter(data={"insight": INSIGHT_FUNNELS, **funnel_filter_data}, team=self.team)
        
        if filter.path_type:
            filter = filter.with_data({PATHS_INCLUDE_EVENT_TYPES: [filter.path_type]})
        resp = ClickhousePaths(filter=filter, team=team, funnel_filter=funnel_filter).run()
        return {"result": resp}
    
    def _refresh_dashboard(self, request) -> None:
        dashboard_id = request.GET.get(FROM_DASHBOARD, None)
        if dashboard_id:
            Insight.objects.filter(pk=dashboard_id).update(last_refresh=now())
class LegacyInsightViewSet(InsightViewSet):
    legacy_team_compatibility = True