We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e12d458 commit eb580f7Copy full SHA for eb580f7
rbac/migration_tool/migrate.py
@@ -85,7 +85,7 @@ def migrate_roles_for_tenant(tenant, exclude_apps, replicator):
85
dual_write_handler = RelationApiDualWriteHandler(
86
role, ReplicationEventType.MIGRATE_CUSTOM_ROLE, replicator
87
)
88
-
+ dual_write_handler.prepare_for_update()
89
dual_write_handler.replicate_new_or_updated_role(role)
90
91
logger.info(f"Migration completed for role: {role.name} with UUID {role.uuid}.")
0 commit comments