Groups for permissions

Hi,

I am using Auth0 to bring hundreds of users from another system to Wordpress. It´s working just fine. I have them all in my *users tab". But now, i need implement a group based permission where certain group will have access to certain content. For example. I may have multiple courses that only certain groups of users will have access. Can I create a group based permission for example: group of users A have access to Course X, and group of users B have access to Course Y ?