]> git.ipfire.org Git - ipfire.org.git/blobdiff - src/backend/accounts.py
lists: Implement some basic code to talk to Mailman
[ipfire.org.git] / src / backend / accounts.py
index a9942085fcbb1a18d0df619284b339df8f3b824b..1634e45f6b2f86fc999cc54bac312329a46e6fdd 100644 (file)
@@ -1309,6 +1309,11 @@ class Account(LDAPObject):
                # Disable the user
                await user.disable(text)
 
+       # Mailman
+
+       async def get_lists(self):
+               return await self.backend.lists.get_subscribed_lists(self)
+
 
 class Groups(Object):
        hidden_groups = (