Skip to content

bug(dashboard): Text card in shared dashboards should hide edit options #35170

@lshaowei18

Description

@lshaowei18

Bug Description

Image

I think the button should be hidden.

How to reproduce

  1. Create a dashboard
  2. Add a text card
  3. Enable sharing
  4. Navigate to shared dashboard and notice that the 3 dots button in a text card is clickable, and actually fire off the request (it still checks for permission on the backend so its not that bad)

Additional context

Debug info

- [ ] PostHog Cloud, Debug information: [please copy/paste from https://us.posthog.com/settings/project-details#variables or https://eu.posthog.com/settings/project-details#variables]
- [ ] PostHog Hobby self-hosted with `docker compose`, version/commit: [please provide]
- [ ] PostHog self-hosted with Kubernetes (deprecated, see [`Sunsetting Kubernetes support`](https://posthog.com/blog/sunsetting-helm-support-posthog)), version/commit: [please provide]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working right

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions