
Feb. 13, 2015
11:31 p.m.
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