I made it so that if moderator is not owner of any group then the group input will not show. Also, if the moderator selects a group where they are not an owner then the error message will indicate that.
https://github.com/discourse/discourse/commit/7532f24668242ee7e7925745d04631ffdd52cc20