diff --git a/disco/types/permissions.py b/disco/types/permissions.py index 6157bd9..d11b08f 100644 --- a/disco/types/permissions.py +++ b/disco/types/permissions.py @@ -66,7 +66,7 @@ class PermissionValue(object): if isinstance(other, PermissionValue): self.value &= ~other.value elif isinstance(other, int): - self.value &= other + self.value &= ~other elif isinstance(other, EnumAttr): setattr(self, other.name, False) else: