We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8b01dd commit 6dcabb2Copy full SHA for 6dcabb2
1 file changed
tableauserverclient/models/permissions_item.py
@@ -71,7 +71,7 @@ def __and__(self, other: "PermissionsRule") -> "PermissionsRule":
71
72
def __or__(self, other: "PermissionsRule") -> "PermissionsRule":
73
if self.grantee != other.grantee:
74
- raise ValueError("Cannot AND two permissions rules with different grantees")
+ raise ValueError("Cannot OR two permissions rules with different grantees")
75
capabilities = set((*self.capabilities.keys(), *other.capabilities.keys()))
76
new_capabilities = {}
77
for capability in capabilities:
0 commit comments