diff --git a/site/src/components/Dashboard/DeploymentBanner/DeploymentBanner.tsx b/site/src/components/Dashboard/DeploymentBanner/DeploymentBanner.tsx index a48de3251c665..f87cf31314e0a 100644 --- a/site/src/components/Dashboard/DeploymentBanner/DeploymentBanner.tsx +++ b/site/src/components/Dashboard/DeploymentBanner/DeploymentBanner.tsx @@ -12,7 +12,9 @@ export const DeploymentBanner: FC = () => { const deploymentStatsQuery = useQuery(deploymentStats()); const healthQuery = useQuery({ ...health(), - enabled: dashboard.experiments.includes("deployment_health_page"), + enabled: + dashboard.experiments.includes("deployment_health_page") && + permissions.viewDeploymentValues, }); if (!permissions.viewDeploymentValues || !deploymentStatsQuery.data) {