Hello there,
I'm trying to work with the update chatmember role command and I encountered an error I can't explain.
In Google Workspace Admin Console we have some OU with the option "Chat and Space restrictions" enabled.
In our case, only admins and the gam user account have this option unflagged and can therefore create chatspaces and change user roles.
I found out that if I send this command:
We also found out that, if we go back to the Admin Console and disable the option "Chat and Space restrictions" for the
us...@ourdomain.com (giving all users the option to create chatspaces and change their roles), the role update command goes flawless and without error.
Isn't this behavior wrong? I thought that this should prevent the user from changing the role on his one and create new chatspaces...but the admin should always be able to change the user role. What am I getting wrong?
Thanks in advance