Closed davidmz closed 2 years ago
I wonder if there are weird side-effects possible if a user that is blocked from posting to a public group subscribes to it and gets promoted to admin. Will they be able to remove the restriction from themselves? Will this interfere with any other mod functions?
Yes, he can unblock himself by being an admin. I don't think a blocked admin is a meaningful case.
Made some updates.
Any serialized group data (not user data) in API responses now have additional boolean acceptsPosts field. This field is true_ if the current user can create posts in this group.
Added
GET /v2/groups/:groupName/blockedUsers
POST /v2/groups/:groupName/block/:userName
POST /v2/groups/:groupName/unblock/:userName
Any serialized group data (not user data) in API responses now have additional boolean acceptsPosts field. This field is true_ if the current user can create posts in this group.
This field takes into account all factors, including the user blocking described above. It will make it easier for the client to determine if it is possible to post to the group.
Changed