Skip to content

Per-role time-range / max-lookback limit #232

Description

@EricAndrechek

Area: policy — feature · found via WaveHouse-Stats dogfooding

Expected: limit a role (especially public) to "only the last N days."

Actual: only row-count and exec-time caps exist (internal/policy/policy.go:31-40 — MaxRows, MaxExecutionTimeMs); filter can't express a rolling now() - INTERVAL, and the public role has no claims to template.

Impact (Stats): moot for us (public GitHub activity isn't time-confidential); would matter for sensitive datasets.

Scope: a per-role rolling time-window / max-lookback constraint.


From WAVEHOUSE-FEEDBACK.md (WaveHouse-Stats dogfooding); validated by code-read against 0f8826c on 2026-06-04.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/policyAccess control policies (Hasura-style)enhancementNew feature or request

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions