Skip to content

fix(devai): restrict document cancellation to admins - #415

Merged
Sam123ben merged 1 commit into
mainfrom
fix/sandbox-cancel-authorisation
Sep 5, 2026
Merged

fix(devai): restrict document cancellation to admins#415
Sam123ben merged 1 commit into
mainfrom
fix/sandbox-cancel-authorisation

Conversation

@Sam123ben

Copy link
Copy Markdown
Member

Summary

  • apply the operator-only sandbox authorization boundary to cancellation
  • cover cancellation in the non-admin route regression matrix

Verification

  • PYTHONPATH=src uv run pytest tests/unit/test_document_intelligence_routes.py -q
  • uv run ruff check src tests
  • uv run mypy src/devai/document_intelligence
  • npm test
  • npm run lint
  • npm run build

@Sam123ben
Sam123ben merged commit d335c34 into main Sep 5, 2026
8 checks passed
@Sam123ben
Sam123ben deleted the fix/sandbox-cancel-authorisation branch September 5, 2026 07:07
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