Commit 06a5d6c0 authored by Antoine Millet's avatar Antoine Millet
Browse files

Fixed bug with right checking.

parent e88e03ce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -232,7 +232,7 @@ class CCServer(object):
                continue
            if tql is not None and right['tql']:
                objects_right = self.list(right['tql'], pure=True)
                if objects <= objects_right:
                if set(objects) <= set(objects_right):
                    return right['target'] == 'allow'
            else:
                return right['target'] == 'allow'