Skip to content

Block downloads for view-only accounts - #31

Merged
ahernsean merged 1 commit into
mainfrom
view-only-no-downloads
Sep 28, 2026
Merged

ahernsean merged 1 commit into
mainfrom
view-only-no-downloads

Conversation

@ahernsean

Copy link
Copy Markdown
Owner

Summary

  • deny CSV and DMV export endpoints for view-only sessions
  • hide CSV backup and DMV PDF download controls for view-only accounts
  • cover direct-route denials and hidden controls

Validation

  • PYTHONPATH=. .venv/bin/ruff check .
  • PYTHONPATH=. .venv/bin/ruff format --check .
  • PYTHONPATH=. .venv/bin/mypy
  • PYTHONPATH=. .venv/bin/pytest -m "not browser" --cov --cov-report=term-missing --cov-fail-under=95
  • DRIVING_LOG_WEBKIT_WS_ENDPOINT=ws://127.0.0.1:31747/ PYTHONPATH=. .venv/bin/pytest -m browser
  • git diff --check

@ahernsean
ahernsean merged commit 2556de7 into main Sep 28, 2026
5 checks passed
@ahernsean
ahernsean deleted the view-only-no-downloads branch September 28, 2026 17:36
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.

1 participant