Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot Link to Dashboard with "Custom Click" Behavior even if you have "View" Access to the Collection it's in #42534

Open
ixipixi opened this issue May 10, 2024 · 0 comments
Labels
.Frontend Priority:P2 Average run of the mill bug Reporting/Dashboards/Click Behavior .Team/DashViz Dashboard and Viz team Type:Bug Product defects

Comments

@ixipixi
Copy link
Contributor

ixipixi commented May 10, 2024

Describe the bug

When you set a custom destination with "On Click" behavior you can set a URL, saved question or dashboard as the target. When you click "Dashboard" you're presented with a list of dashboards you can target.

  • If you have "View" access to a Collection a dashboard is in then you cannot select it from the menu
  • If you have "Curate" access the Collection the target dashboard is in then you can

To Reproduce

  1. Create a test collection (or use "Our Analytics")
  2. In the test collection create "Target Dashboard"
  3. Set collection access for the "All Users" group to "View" for the test collection
  4. Log in as a non admin user
  5. From any dashboard this user can edit add "custom click" behavior to one of the cards
  6. Select "Dashboard" as the destination
  7. Note that the dashboard in the test collection is not selectable as a destination

Expected behavior

You should be able to link to a dashboard if you can otherwise view it.

Logs

No response

Information about your Metabase installation

{
  "browser-info": {
    "language": "en-US",
    "platform": "Win32",
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36",
    "vendor": "Google Inc."
  },
  "system-info": {
    "file.encoding": "UTF-8",
    "java.runtime.name": "OpenJDK Runtime Environment",
    "java.runtime.version": "11.0.23+9",
    "java.vendor": "Eclipse Adoptium",
    "java.vendor.url": "https://adoptium.net/",
    "java.version": "11.0.23",
    "java.vm.name": "OpenJDK 64-Bit Server VM",
    "java.vm.version": "11.0.23+9",
    "os.name": "Linux",
    "os.version": "5.15.133.1-microsoft-standard-WSL2",
    "user.language": "en",
    "user.timezone": "GMT"
  },
  "metabase-info": {
    "databases": [
      "h2",
      "postgres",
      "bigquery-cloud-sdk"
    ],
    "hosting-env": "unknown",
    "application-database": "postgres",
    "application-database-details": {
      "database": {
        "name": "PostgreSQL",
        "version": "11.22 (Debian 11.22-1.pgdg110+1)"
      },
      "jdbc-driver": {
        "name": "PostgreSQL JDBC Driver",
        "version": "42.7.2"
      }
    },
    "run-mode": "prod",
    "version": {
      "date": "2024-05-02",
      "tag": "v1.49.8",
      "hash": "38cb850"
    },
    "settings": {
      "report-timezone": null
    }
  }
}

Severity

Annoying - you can partially work around it with the "URL" option but you miss out on fitler customization options that are available if you choose the dashboard from a list

Additional context

No response

@ixipixi ixipixi added Type:Bug Product defects .Needs Triage labels May 10, 2024
@ixipixi ixipixi changed the title Cannot Link to Dashboard with "Custom Click" Behavior even if you have "View" Access to the Colelciton it's in Cannot Link to Dashboard with "Custom Click" Behavior even if you have "View" Access to the Collection it's in May 10, 2024
@alxnddr alxnddr added .Frontend Reporting/Dashboards/Click Behavior .Team/DashViz Dashboard and Viz team Priority:P2 Average run of the mill bug and removed .Needs Triage labels May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.Frontend Priority:P2 Average run of the mill bug Reporting/Dashboards/Click Behavior .Team/DashViz Dashboard and Viz team Type:Bug Product defects
Projects
None yet
Development

No branches or pull requests

2 participants