Is it possible to convert portal users to full users?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wu-lee
    Junior Member
    • Oct 2025
    • 3

    #1

    Is it possible to convert portal users to full users?

    Problem: we want to use EspoCRM for managing a member's association for freelancers. Therefore we need a process like this:
    - A potential member registers on a public form as interested, which makes them an "affiliate"
    - This person's details needs to be captured, including some custom fields about their skills etc., and go into a searchable list for members to browse
    - Affiliates need to be able to edit their details, reset their password, etc.
    - If they elect to become a member, we need to be able to "promote" them and give them access to the searchable list of members/affiliates
    - Some members may become administrators.
    - We also need to admin allow users to go back to being members, and members back to being affiliates.

    So it seems like I need a way for a form. This could be a lead form, which allows the initial registration, then an admin might convert these to contacts, and then portal users.

    But as far as I can tell, it stops there: it isn't possible to convert portal users to full users, and thence admin users. Because the portal user "type" field appears unmodifiable.

    Saying that, there is only one "User" entity type in the entity manager, with a Type field which includes all of "regular"|"admin"|"portal"|"system"|"super-admin"|"api"... So I suspect it might be technically possible to convert them, just the UI prohibits it by design.

    Is there a way to do what I outlined above?

    Thanks!

  • emillod
    Active Community Member
    • Apr 2017
    • 1503

    #2
    Hello wu-lee have you tried to do it via formula? For example changing type of the user?

    Comment

    • wu-lee
      Junior Member
      • Oct 2025
      • 3

      #3
      Ah, no - I don't actually know what that is and will need to research it!

      I should probably ask for a bit more detail though?
      Last edited by wu-lee; Today, 08:31 AM.

      Comment

      • wu-lee
        Junior Member
        • Oct 2025
        • 3

        #4
        After a bit of research:
        - Formula scripts seem to be triggerable only in the back-end on a save or an API action, and so can't do things like adding a button or changing the options that the "type" field shows in a Portal User detail edit. Source: https://forum.espocrm.com/forum/gene...ening-a-dialog
        - Front end UI seems to be customisable, but only by editing the template logic, which looks like it needs fairly deep EspoCRM know-how. Source: https://forum.espocrm.com/forum/gene...-custom-button
        - The "Type" field of a User seems to be a bit special. Other fields have "Dynamic Logic" and various other options available in the entity manager; "Type" has very limited options there. It seems I can change the label and tool-tip, make it read-only, and that's about it

        I wonder if this, especially the last point. is evidence of a design choice which effectively rules out what I'm hoping to achieve?

        Comment

        Working...