We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd29a60 commit 884eba9Copy full SHA for 884eba9
packages/models-library/src/models_library/clusters.py
@@ -229,7 +229,7 @@ def check_owner_has_access_rights(self: Self) -> Self:
229
owner_gid = self.owner
230
231
# check owner is in the access rights, if not add it
232
- access_rights = dict(self.access_rights)
+ access_rights = self.access_rights.copy()
233
if owner_gid not in access_rights:
234
access_rights[owner_gid] = (
235
CLUSTER_USER_RIGHTS if is_default_cluster else CLUSTER_ADMIN_RIGHTS
0 commit comments