From 73eaa4a7cb7781ed156fb0d47c3100b5a82c2853 Mon Sep 17 00:00:00 2001 From: Tomas Frenak Date: Thu, 21 Nov 2024 08:44:59 +0100 Subject: [PATCH] Fixing setting default permissions for virtual connections --- tableauserverclient/models/project_item.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tableauserverclient/models/project_item.py b/tableauserverclient/models/project_item.py index 48f27c60..b20cb537 100644 --- a/tableauserverclient/models/project_item.py +++ b/tableauserverclient/models/project_item.py @@ -174,7 +174,7 @@ def _set_permissions(self, permissions): self._permissions = permissions def _set_default_permissions(self, permissions, content_type): - attr = f"_default_{content_type}_permissions" + attr = f"_default_{content_type}_permissions".lower() setattr( self, attr,