Commit 8dfa62d6 authored by Barry Warsaw's avatar Barry Warsaw Committed by GitLab

Start of owners top level resource.

parent 61877ba9
......@@ -29,6 +29,7 @@ from mailman.config import config
from mailman.core.constants import system_preferences
from mailman.core.system import system
from mailman.interfaces.listmanager import IListManager
from mailman.interfaces.usermanager import IUserManager
from mailman.model.uid import UID
from import AllAddresses, AnAddress
from import ADomain, AllDomains
......@@ -233,6 +234,13 @@ class TopLevel:
user_id = segments.pop(0)
return AUser(user_id), segments
def owners(self, request, segments):
if len(segments) != 0:
return BadRequest(), []
def templates(self, request, segments):
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