Google Groups Post Permissions

风流意气都作罢 提交于 2020-01-02 11:46:11

问题


I have used both GAM and the Google Groups API to script the following:

"whoCanPostMessage":"ALL_IN_DOMAIN_CAN_POST"

By default, this also includes ALL_MEMBERS_CAN_POST.

I DO_NOT want members to be able to post.

Is there any way to exclude All_Members when you want ALL_IN_DOMAIN??

(I know I could do it manually, one-by-one, through the Google Admin Console, but that would be very tedious and time consuming)

Please help!


回答1:


According to the Groups Settings API documentation, possible settings for this attribute are:

NONE_CAN_POST ALL_MANAGERS_CAN_POST ALL_MEMBERS_CAN_POST ALL_IN_DOMAIN_CAN_POST ANYONE_CAN_POST

as you've seen in testing, setting this attribute to ALL_IN_DOMAIN_CAN_POST also adds ALL_MEMBERS_CAN_POST. There's no way to select ALL_IN_DOMAIN and not ALL_MEMBERS via the API.



来源:https://stackoverflow.com/questions/13774278/google-groups-post-permissions

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!