diff options
| author | Barry Warsaw | 2016-07-16 15:44:07 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2016-07-16 15:44:07 -0400 |
| commit | dbde6231ec897379ed38ed4cd015b8ab20ed5fa1 (patch) | |
| tree | 1226d06a238314262a1d04d0bbf9c4dc0b72c309 /src/mailman/interfaces/member.py | |
| parent | 3387791beb7112dbe07664041f117fdcc20df53d (diff) | |
| download | mailman-dbde6231ec897379ed38ed4cd015b8ab20ed5fa1.tar.gz mailman-dbde6231ec897379ed38ed4cd015b8ab20ed5fa1.tar.zst mailman-dbde6231ec897379ed38ed4cd015b8ab20ed5fa1.zip | |
Diffstat (limited to 'src/mailman/interfaces/member.py')
| -rw-r--r-- | src/mailman/interfaces/member.py | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/mailman/interfaces/member.py b/src/mailman/interfaces/member.py index 367838e21..094652521 100644 --- a/src/mailman/interfaces/member.py +++ b/src/mailman/interfaces/member.py @@ -174,6 +174,16 @@ class IMember(Interface): address, it will be an ``IUser``. """) + display_name = Attribute( + """The best match of the member's display name. + + This will be `subscriber.display_name` if available, which means it + will either be the display name of the address or user that's + subscribed. If unavailable, and the address is the subscriber, then + the linked user's display name is given, if available. When all else + fails, the empty string is returned. + """) + preferences = Attribute( """This member's preferences.""") @@ -258,11 +268,3 @@ class IMember(Interface): 4. System default XXX I'm not sure this is the right place to put this.""") - - options_url = Attribute( - """Return the url for the given member's option page. - - XXX This needs a serious re-think in the face of the unified user - database, since a member's options aren't tied to any specific mailing - list. So in what part of the web-space does the user's options live? - """) |
