summaryrefslogtreecommitdiff
path: root/src/mailman/interfaces/user.py
diff options
context:
space:
mode:
authorBarry Warsaw2015-09-13 18:49:38 -0400
committerBarry Warsaw2015-09-20 14:56:47 -0400
commit811f10df9400b9d5b7ab349c138f6684a597479e (patch)
treea6a566220d02430ee845b735c8582d913b007563 /src/mailman/interfaces/user.py
parent929867584431e41826414e8281c4e0726968503b (diff)
downloadmailman-811f10df9400b9d5b7ab349c138f6684a597479e.tar.gz
mailman-811f10df9400b9d5b7ab349c138f6684a597479e.tar.zst
mailman-811f10df9400b9d5b7ab349c138f6684a597479e.zip
Document an attribute.
Add a doctest for the `owners` top-level resource.
Diffstat (limited to 'src/mailman/interfaces/user.py')
-rw-r--r--src/mailman/interfaces/user.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mailman/interfaces/user.py b/src/mailman/interfaces/user.py
index 1068890c1..76ceb3f37 100644
--- a/src/mailman/interfaces/user.py
+++ b/src/mailman/interfaces/user.py
@@ -70,6 +70,9 @@ class IUser(Interface):
memberships = Attribute(
"""A roster of this user's memberships.""")
+ is_server_owner = Attribute(
+ """Boolean flag indicating whether the user is a server owner.""")
+
def register(email, display_name=None):
"""Register the given email address and link it to this user.