fix(tests): backend test suite - app version, DB roles, admin RBAC, companies route, field names, DeletionLog, ABAC, imports
This commit is contained in:
@@ -186,7 +186,7 @@ async def test_ac6_copilot_tenant_isolation(ai_client: AsyncClient, db_session):
|
||||
@pytest.mark.asyncio
|
||||
async def test_ac7_copilot_field_level_permissions(ai_client: AsyncClient, db_session):
|
||||
"""AC7: Copilot respects field-level permissions — hidden fields not in response."""
|
||||
from app.core.auth import filter_fields_by_permission
|
||||
from app.core.permissions import filter_fields_by_permission
|
||||
|
||||
await seed_tenant_and_users(db_session)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user