I'm creating a learning website on WordPress. I've already created different user roles based on the company's roles (eg. Agents, Managers) but I want every role to only be able to see specific posts with a specific category. So for example an agent after logging will only see 'agent'-category posts and every other post categories won't display. Basically a customized experience. These users will be 'subscriber'-like users, so will be only able to read and leave a comment.
Is it possible? Can anyone help me with a good code?
Thanks a lot.