agnes-the-ai-analyst/tests
ZdenekSrotyr 1074d5ec49 feat: implement data access control — table-level permissions
Schema v3: add is_public column to table_registry (default true).

src/rbac.py: can_access_table() checks admin bypass, public flag,
explicit permissions, wildcard bucket permissions.

API enforcement:
- manifest: filters tables by user access
- download: 403 if no access
- catalog: filters table list
- query: validates referenced tables against allowed list

New admin permissions API (/api/admin/permissions) for grant/revoke.

28 access control tests + 733 total tests passing.
2026-03-31 12:33:31 +02:00
..
__init__.py Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00
conftest.py feat: add E2E test suite — API, extractor, Docker 2026-03-31 08:18:54 +02:00
test_access_control.py feat: implement data access control — table-level permissions 2026-03-31 12:33:31 +02:00
test_account_service.py OSS cleanup: remove internal references, harden deployment, add config env interpolation 2026-03-09 07:59:57 +01:00
test_api.py feat: add FastAPI server with auth, RBAC, and all API endpoints 2026-03-27 15:19:18 +01:00
test_api_complete.py feat: complete system — web UI, all API endpoints, governance, admin, CLI commands 2026-03-27 16:52:22 +01:00
test_api_scripts.py feat: add dataset permissions, script execution, Kamal config, CI/CD 2026-03-27 15:40:11 +01:00
test_auth_providers.py feat: add auth providers (Google OAuth, Password, Email magic link) + web UI fixes 2026-03-27 17:07:59 +01:00
test_auto_profiling.py Add self-service data onboarding system 2026-03-09 14:25:37 +01:00
test_bigquery_extractor.py feat: implement extract.duckdb contract — orchestrator + extractors 2026-03-30 20:12:56 +02:00
test_bootstrap.py feat: add bootstrap endpoint + deploy skill for AI agents 2026-03-30 14:01:01 +02:00
test_catalog_export.py refactor: delete old sync pipeline — 9,500 lines removed 2026-03-31 07:50:37 +02:00
test_cli.py feat: add Docker, CLI tool, scheduler, and agent skills 2026-03-27 15:30:03 +01:00
test_corporate_memory_governance.py Add Corporate Memory governance — Phase 1 (data model + admin API) 2026-03-23 19:15:33 +01:00
test_db.py feat: implement data access control — table-level permissions 2026-03-31 12:33:31 +02:00
test_duckdb_manager.py Add per-partition streaming sync and hybrid query architecture 2026-03-12 13:20:41 +01:00
test_e2e_api.py feat: implement data access control — table-level permissions 2026-03-31 12:33:31 +02:00
test_e2e_docker.py feat: add E2E test suite — API, extractor, Docker 2026-03-31 08:18:54 +02:00
test_e2e_extract.py feat: implement data access control — table-level permissions 2026-03-31 12:33:31 +02:00
test_email_auth.py Add multi-domain support and full-email username generation 2026-03-10 10:50:01 +01:00
test_generate_sample_data.py Add --format parquet using project's ParquetManager 2026-03-10 21:46:20 +01:00
test_keboola_extractor.py feat: implement extract.duckdb contract — orchestrator + extractors 2026-03-30 20:12:56 +02:00
test_llm_connector.py Add modular LLM connector for Corporate Memory 2026-03-23 12:08:33 +01:00
test_metrics.py Phase 2: Replace demo YAML metrics with OpenMetadata catalog data 2026-03-12 15:10:42 +01:00
test_migration.py feat: add JSON to DuckDB migration script with tests 2026-03-27 15:09:06 +01:00
test_openmetadata_client.py Implement OpenMetadata catalog integration (Phase 1) 2026-03-12 14:07:13 +01:00
test_openmetadata_enricher.py refactor: delete old sync pipeline — 9,500 lines removed 2026-03-31 07:50:37 +02:00
test_openmetadata_transformer.py Filter catalog metrics by configurable tag (e.g., AIAgent.FoundryAI) 2026-03-16 22:03:53 +01:00
test_orchestrator.py feat: implement extract.duckdb contract — orchestrator + extractors 2026-03-30 20:12:56 +02:00
test_permissions.py feat: add dataset permissions, script execution, Kamal config, CI/CD 2026-03-27 15:40:11 +01:00
test_profiler.py Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00
test_rbac.py feat: add centralized RBAC module — replace Linux group auth 2026-03-31 08:04:35 +02:00
test_repositories.py feat: implement extract.duckdb contract — orchestrator + extractors 2026-03-30 20:12:56 +02:00
test_scheduler.py Support multiple daily sync times (e.g., "daily 07:00,13:00,18:00") 2026-03-16 23:09:48 +01:00
test_security.py fix: harden script sandbox and SQL query security 2026-03-27 16:11:05 +01:00
test_user_service.py Initial commit: OSS data distribution platform 2026-03-08 23:31:28 +01:00
test_username_generation.py Fix: correct OpenMetadata catalog URL path and add debug logging 2026-03-12 14:34:12 +01:00