Change groupA sharing to share with additional users and select groupB
Change groupB sharing to share with additional users and select groupA
Users in group A can't see groupB after that.
This doesn't affect Exodus client (it still shows both groups), so it must be a Spark bug