Security group - view from group A but not from group B

You have to use a combination of roles and security groups.

Check this post: Hierarchy implementation of the4 layers in suiteCRM using security groups