Commit 4cbfb0bf authored by lukas.burgey's avatar lukas.burgey
Browse files

Change implementation

parent ec6e9ebd
Pipeline #81763 failed with stage
in 1 minute and 46 seconds
......@@ -105,15 +105,12 @@ class User(AbstractUser):
# services returns all services this user has access to
def services(self):
queryset = None
s = set()
for vo in self.vos.all():
if queryset is None:
queryset =
s = s.union(
return queryset
return list(s)
def is_active_at_clients(self):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment