diff options
| author | Barry Warsaw | 2011-03-18 15:01:57 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2011-03-18 15:01:57 -0400 |
| commit | dee26f391da59c68a23f8fb960dff9ebd879e916 (patch) | |
| tree | 9ca545beecf73f7cdaeff7ffd065ccb4dafd72ee /src/mailman/model/docs/users.txt | |
| parent | ef3a4a87e2c0f4b640e31afc4828d2edbd005846 (diff) | |
| download | mailman-dee26f391da59c68a23f8fb960dff9ebd879e916.tar.gz mailman-dee26f391da59c68a23f8fb960dff9ebd879e916.tar.zst mailman-dee26f391da59c68a23f8fb960dff9ebd879e916.zip | |
* Give users a unique, random, immutable user id.
* Find users by user_id via the user manager.
* Extend the repr of users to include the user id.
Diffstat (limited to 'src/mailman/model/docs/users.txt')
| -rw-r--r-- | src/mailman/model/docs/users.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/mailman/model/docs/users.txt b/src/mailman/model/docs/users.txt index bbfef8391..1703db1ee 100644 --- a/src/mailman/model/docs/users.txt +++ b/src/mailman/model/docs/users.txt @@ -36,6 +36,24 @@ The password and real name can be changed at any time. another password +User id +======= + +Although rarely visible to users, every user has a unique ID in Mailman, which +never changes. This ID is generated randomly at the time the user is +created. + + >>> print len(user_1.user_id) + 40 + +The user id cannot change. + + >>> user_1.user_id = 'foo' + Traceback (most recent call last): + ... + AttributeError: can't set attribute + + Users addresses =============== |
