mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-06-26 07:08:06 +02:00
Users are global entities, not scoped to workspaces. This change: Track A — Global usernames: - Change iam_users_by_username to PRIMARY KEY (username), removing workspace from the lookup key - Login looks up username globally, no workspace required - Username uniqueness is enforced globally, not per-workspace - Login -w now overrides the JWT workspace (session workspace) rather than selecting which user registry to search Track B — Rename workspace to default_workspace: - UserRecord.workspace → UserRecord.default_workspace - Identity.workspace → Identity.default_workspace - JWT claim "workspace" → "default_workspace" - IamResponse.resolved_workspace → resolved_default_workspace - WebSocket auth-ok frame field → default_workspace - Socket clients read default_workspace from auth-ok - _user_record_to_dict wire key → default_workspace - CLI help text and output updated throughout - Test files updated for renamed fields |
||
|---|---|---|
| .. | ||
| test_auth.py | ||
| test_capabilities.py | ||
| test_config_receiver.py | ||
| test_core_import_export_roundtrip.py | ||
| test_dispatch_config.py | ||
| test_dispatch_manager.py | ||
| test_dispatch_mux.py | ||
| test_dispatch_requestor.py | ||
| test_dispatch_sender.py | ||
| test_dispatch_serialize.py | ||
| test_endpoint_constant.py | ||
| test_endpoint_i18n.py | ||
| test_endpoint_manager.py | ||
| test_endpoint_metrics.py | ||
| test_endpoint_socket.py | ||
| test_endpoint_stream.py | ||
| test_endpoint_variable.py | ||
| test_entity_contexts_import_dispatcher.py | ||
| test_explain_triples.py | ||
| test_graph_embeddings_import_dispatcher.py | ||
| test_rows_import_dispatcher.py | ||
| test_running.py | ||
| test_service.py | ||
| test_socket_graceful_shutdown.py | ||
| test_streaming_translators.py | ||
| test_text_document_translator.py | ||