The change in !997 was incorrect. It would not allow subscribing any of a user's...
commitc6b21fd735a266b7482fdeb59102f1803bf883ff
authorMark Sapiro <mark@msapiro.net>
Thu, 3 Nov 2022 16:28:56 +0000 (3 16:28 +0000)
committerMark Sapiro <mark@msapiro.net>
Thu, 3 Nov 2022 16:28:56 +0000 (3 16:28 +0000)
tree9863d52bb45348317c7cda08f554bd80eeefb85d
parent06a3e08304efbc9e3fe49fa3a9a6fa747be8f43b
The change in !997 was incorrect. It would not allow subscribing any of a user's addresses to a list if the `user` was subscribed. The proper change is to not allow subscribing of a user's preferred address if the `user` is subscribed. This corrects that. It also adds a regression test to insure that subscribing a user's 'other' address succeeds.
src/mailman/app/subscriptions.py
src/mailman/app/tests/test_subscriptions.py
src/mailman/docs/NEWS.rst