I am quite new to SuiteCRM and have so far customized it to suit our needs by adding fields to the Contacts (renamed to Clients, since we have a B2C model) and Leads.
My next step requires something more complicated and would like to get some advice on how to accomplish this. I want our wordpress website to use the CRM as an authentication database for it’s user. This should be possible with a plugin that will use a simple mysql select to authenticate. But both leads and contacts are able to register on the website and I can only do 1 query per login. I was thinking (correct me if i am wrong) to create a custom module that holds a username, hashed password and user role/type information. This module would then be linked to either a conact or lead. if a lead is converted the relation would also be attached to the contact record. The custom module would then be shown as a subpanel at the lead/client record.
Will this work? I have been testing with creating a custom module with a one to one relationship to both leads and contacts, but the module does not show up as a subpanel anywhere.
Any help or advice is greatly appreciated.
I am using SuiteCRM 7.6