hko
09/25/2026, 12:29 PMsql_filter, required_attributes) for role-based access to sensitive data. The issue: attribute filters don't apply in SQL Runner, so any Developer can query the underlying tables directly and see everything the project connection can see. In practice we can't give data builders Developer access without also giving them unrestricted access to sensitive data, which undermines the RBAC model for that data.
What we'd love (any of these):
1. Enforce model-level required_attributes / any_attributes in SQL Runner, so tables a user can't access in Explore are also blocked there
2. Lightdash-side allowlist/denylist of schemas/tables for SQL Runner, attachable to roles, groups or user attributes
3. Separate permission to run SQL Runner vs. other Developer capabilities, available outside custom roles
Looks related to #13908 (github.com/lightdash/lightdash/issues/13908). Is this on the roadmap, or has anyone solved it differently?Pylon
09/25/2026, 12:29 PMTori Whaley
09/25/2026, 1:25 PMlsh
09/28/2026, 6:50 AM