Allow groups to appear in the `Share with group` share if the group owner allows it

Merged Valery Sizov requested to merge group_visibility into master