On Feb 14, 2015, at 09:08 AM, Andrew Stuart wrote:
>When a user is subscribed to a list, they can be assigned a role, one of
>member, owner, moderator nonmember.
>
>The PATCH /members/{id} method does not allow changes to the role and
>display_name.
>
>I’m just wondering what the thinking is behind this - is there a reason that
>role cannot be changed?
Yes, it's because the model really doesn't allow it.
A member represents a subscription to a mailing list, so the role is
read-only. You don't change a list owner into a regular member, etc. Instead
you simply subscribe with the new role and unsubscribe the member if that role
is removed. A user/address can be subscribed multiple times to the same
mailing list, but only once per role.
Cheers,
-Barry
_______________________________________________
Mailman-Developers mailing list
[email protected]
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives:
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe:
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org
Security Policy: http://wiki.list.org/x/QIA9