Access Account, Contact,etc. by Filtering Group

I want to know how we made access by filter.
for example, we add an attribute with the name groupuser(for example user group: BAA), than I want to the user can only access Account, Contact, Leads, Opportunity, etc. filter by group user. then only the userGroup BAA can only access it.

Use TeamSecurity addon by Sugar Outfitters

Ok thank you maretval. I will try this…