Setting group restrictions (group visibility)

Change-Id: I3af84bd3085876e84eb6721f0d2948dfe22af82b