Anyone can join as a professional but people have to apply to become an expert. I manually approve the expert application and I receive these applications via a CRED form that creates a 'pending approval' user.
However, it turns out these users can request to reset the password and login into the system as pending-approval users. This is not ideal as I want them to have a good experience and my site is not set up to support access for pending approval users.
Instead, I want to programmatically give them access to a 'professional' user when the pending approval user is created.
As the pending user is already created via expert application CRED form, I was wondering if I can use a CRED hook to add the 'professional' secondary role to the user on registration itself. Is the doable?