[Mailman-Developers] Question about member role and PATCH /members/{id}

Barry Warsaw barry at list.org
Fri Feb 13 23:31:27 CET 2015


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


More information about the Mailman-Developers mailing list