Skip to content

Commit b5d71f0

Browse files
committed
feat(rbac): tenant isolation and scope boundary tests
1 parent a8a756f commit b5d71f0

File tree

7 files changed

+2390
-3
lines changed

7 files changed

+2390
-3
lines changed

tests/unit/api/conftest.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@
3131
from tracecat.tables.router import (
3232
WorkspaceUser as TablesWorkspaceUser,
3333
)
34+
from tracecat.workspaces.router import (
35+
WorkspaceUserInPath,
36+
)
3437

3538

3639
def override_role_dependency() -> Role:
@@ -54,6 +57,7 @@ def client() -> Generator[TestClient, None, None]:
5457
WorkspaceUserRole,
5558
ExecutorWorkspaceRole,
5659
WorkspaceUser,
60+
WorkspaceUserInPath,
5761
SuperuserRole,
5862
OrganizationUserRole,
5963
OrganizationAdminUserRole,

0 commit comments

Comments
 (0)