## 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_retention(request)
        return Response(result)
    @cached_function
    def calculate_retention(self, request: request.Request) -> Dict[str, Any]:
        team = self.team
        data = {}
        if not request.GET.get("date_from"):
            data.update({"date_from": "-11d"})
        filter = RetentionFilter(data=data, request=request, team=self.team)
        base_uri = request.build_absolute_uri("/")
        result = ClickhouseRetention(base_uri=base_uri).run(filter, team)
        return {"result": result}
    
    
    
    
    
    
    
    @action(methods=["GET", "POST"], detail=False)
    def path(self, request: request.Request, *args: Any, **kwargs: Any) -> Response: