Skip to content

Commit 884eba9

Browse files
fix field copy
1 parent fd29a60 commit 884eba9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/models-library/src/models_library/clusters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def check_owner_has_access_rights(self: Self) -> Self:
229229
owner_gid = self.owner
230230

231231
# check owner is in the access rights, if not add it
232-
access_rights = dict(self.access_rights)
232+
access_rights = self.access_rights.copy()
233233
if owner_gid not in access_rights:
234234
access_rights[owner_gid] = (
235235
CLUSTER_USER_RIGHTS if is_default_cluster else CLUSTER_ADMIN_RIGHTS

0 commit comments

Comments
 (0)