Open JobDoesburg opened 2 years ago
For reference. This needs the google directory api: https://developers.google.com/admin-sdk/directory/reference/rest/v1/members/patch https://developers.google.com/admin-sdk/directory/reference/rest/v1/members#Member.
We already use this, it is probably possible to change the role of the user in a group. I think a user needs to have the MANAGER role. The owner role is not needed but can also work. We have all moderated groups set to manager or owner moderation: https://github.com/svthalia/concrexit/blob/master/website/mailinglists/gsuite.py#L94
The google admin UI now at least has the possibility to filter group members by role. That doesn't help with setting the moderator, but it pretty much solves the most difficult aspect of inspecting who is currently moderator. Combined with the fact that currently, only the builtin mailinglists are moderated, this issue isn't as useful any more.
We would also need some model (or setting) to determine who should be moderator of the builtin lists, so it's not straightforward either.
Is your feature request related to a problem? Please describe.
It's not that easy to change/inspect mailing list moderators via Google groups.
Describe the solution you'd like
Sync it via concrexit
Motivation
Easier
Describe alternatives you've considered
Not doing it
Additional context