Skip to content

Limit dashboard grants to the queries the dashboard shows - #45

Merged
Ziinc merged 1 commit into
mainfrom
ccr-dcc93ffe-bvr4wf-fix-dashboard-grants
Oct 6, 2026
Merged

Ziinc merged 1 commit into
mainfrom
ccr-dcc93ffe-bvr4wf-fix-dashboard-grants

Conversation

@Ziinc

@Ziinc Ziinc commented Oct 6, 2026

Copy link
Copy Markdown
Contributor
  • A dashboard grant no longer implies read on embedded forms' queries (those need the form grant), and queryId counts only on KPI, table and chart components, in authz.rs and rbac.ts; Rust, unit and integration tests cover both.
  • Document in the decision record, web/docs/cloud/security.md and the roles/dashboards guides that dashboard filters and columns are not row or column security; grant a narrower saved query instead.
  • Update stale grant wording from Dashboard grants imply read on their queries #31 in the dashboards, roles and queries guides.

Generated by Claude Code

A dashboard grant no longer implies read on the queries of embedded forms,
and a queryId on other component kinds grants nothing (Rust authz and
rbac.ts). Document that dashboard filters and columns are not row or
column security, and update the grant rules in the public docs.
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown

@Ziinc
Ziinc merged commit 9ead69d into main Oct 6, 2026
16 checks passed

This branch was successfully deployed

1 active deployment
preview — 5fcc590e Deployed Oct 6, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants