How do i create a fluentcrm custom plugin on wordpress that allows for me to have two user roles; the super admin and the company/client
The roles should allow for creation of companies with contacts that can be linked to them, contacts and email campaigns as well as managing the contacts, campaigns and automation of e-mails. Meanwhile, users that log in with a company/client user role should be able create their own contacts on the wordpress dashboard that will be only related to their own companies without being able to access the contacts of other companies. I have added some of these functionalities to some extent but I am having issues creating my contacts with their details when logged in as a company/client user role on the company/client dashboard.