diff --git a/disco/types/permissions.py b/disco/types/permissions.py index 6e4d9f3..6157bd9 100644 --- a/disco/types/permissions.py +++ b/disco/types/permissions.py @@ -40,6 +40,10 @@ class PermissionValue(object): self.value = value def can(self, *perms): + # Administrator permission overwrites all others + if self.administrator: + return True + for perm in perms: if isinstance(perm, EnumAttr): perm = perm.value