Parent User and Child User - relate users

I need to create a system in which I have 2 types of users: Company User (C) and Employee User (E).

I need C to be able to register as many E as necessary and for C users to be able to publish articles that will only be visible to E users, children of C users.

I figured it would be possible to do this with meta fields so I created the ACF DAD and CHILD field with Jet Engine plugin. I couldn't but I didn't succeed. Can anyone tell me if it is possible to use metafields for this?

Topic wp-user-query user-meta user-access user-roles Wordpress

Category Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.