GAM 3.6 - Can't change group post permissions to only those in domain

444 views
Skip to first unread message

Jason Maitland

unread,
Nov 18, 2015, 10:47:54 AM11/18/15
to Google Apps Manager
I'm trying to prevent parents from emailing back to a group by setting the group basic permissions on who can post messages. I'm having problems with GAM. I can change the post permissions to owners or managers using:

gam update group 1a-...@rundle.ab.ca who_can_post_message all_managers_can_post

This works fine. What I can't do is set the group to only allow posts from organization members (All organization members). I've tried:

gam update group 1a-...@rundle.ab.ca who_can_post_message all_in_domain_can_post

However, it sets the group permissions to allow all members in the group to post even those who don't have domain accounts.

Any thoughts or help would be greatly appreciated.

Ross Scroggs

unread,
Nov 18, 2015, 11:11:34 AM11/18/15
to google-ap...@googlegroups.com
Jason,

If you do: gam info group 1a-...@rundle.ab.ca
Do you see:
...

    whoCanPostMessage: ALL_IN_DOMAIN_CAN_POST

...
This will verify that GAM properly updated the group.

In my testing I'm seeing what you see, anyone can post which would point to this being a Google bug, not a GAM problem.

Ross

--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/dc501916-4e84-42ec-8df4-a7e3a78b741f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Ross Scroggs

unread,
Nov 18, 2015, 11:15:53 AM11/18/15
to google-ap...@googlegroups.com
Jason,

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.

Ross

Ross

--

Jason Maitland

unread,
Nov 19, 2015, 11:41:49 AM11/19/15
to Google Apps Manager
Thanks for the feedback Ross. If this has been a problem since 2012 it is wonder that Google hasn't done something to fix the API. Do you know of a workaround. We automate the setup of all of our Google groups for our 4 campuses. This means more than 1000 groups... too many to change by hand.


To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.



--



--

Ross Scroggs

unread,
Nov 19, 2015, 12:17:53 PM11/19/15
to google-ap...@googlegroups.com
Jason,

The API (not GAM) is messed up. I don't know of any workaround at the moment. I'll keep looking around.

Ross

To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.



--



--

--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.

To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-apps-manager.

For more options, visit https://groups.google.com/d/optout.



--

Jason Maitland

unread,
Nov 19, 2015, 12:27:52 PM11/19/15
to Google Apps Manager
Thank you for giving it some thought. It is much appreciated.

To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.



--



--

--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.

To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-apps-manager.



--
Reply all
Reply to author
Forward
0 new messages