feat: complete Phase 0 Enterprise IAM

This commit is contained in:
thakares committed 2026-07-21 15:26:16 +05:30
1 parent 3d2d291006
commit c2f5ba3f54
202 files changed
+21371 -1360

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
import re
def fix_integration_test():
path = 'tests/integration_test.rs'
try:
with open(path, 'r') as f:
content = f.read()
content = re.sub(
r'role_repo::remove_from_user\(&mut tx, &user\.id, &role\.id\)',
r'provider.roles().remove_from_user(&user.id, &role.id)',
content
)
with open(path, 'w') as f:
f.write(content)
except FileNotFoundError:
pass
fix_integration_test()