P0+P1 fixes: RCE sandbox, SQL injection, RLS tenant isolation, DB roles, test syntax, attachment, permission registry, membership check
Check Cross-Plugin Imports / check (push) Has been cancelled

This commit is contained in:
Agent Zero
2026-07-29 12:28:08 +02:00
parent 81ae5b7cb6
commit 26bf8d3a31
12 changed files with 423 additions and 39 deletions
-1
View File
@@ -421,4 +421,3 @@ class TestABACPolicyService:
db_session, tenant_id, policy["id"], enabled=False
)
assert updated["enabled"] is False
}
-1
View File
@@ -403,4 +403,3 @@ class TestEntityPermissions:
db_session, tenant_id, viewer_id, "contact", contact_id
)
assert access == "none", "Permission should be gone after cleanup"
}
-1
View File
@@ -286,4 +286,3 @@ class TestPermissionPerformance:
assert elapsed < 3.0, f"get_visible_ids with mixed ownership took {elapsed:.3f}s (expected <3.0s)"
# Viewer should see: 200 shared + 300 tenant-owned = 500
assert len(visible) >= 500, f"Expected >=500 visible, got {len(visible)}"
}