Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-513

cPanel: Set different username if one is taken

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0.b3
    • Fix Version/s: 3.2.0-b1
    • Component/s: Modules
    • Labels:
      None

      Description

      When creating an account through cPanel, it's possible that a username truncated to 8 characters could be a duplicate of another username in the system. In this case, we need to add integers to the end (or something) to make it unique.

      Use the module API to determine how to best go about this, either to
      1. Check if a username exists, and use something else; repeat 5x
      2. Analyze the response that a username does not exist and try another; repeat 5x

      !!Unable to render embedded object: File (ALL OTHER MODULES NEED SIMILAR BEHAVIOR IMPLEMENTED) not found.!!

        Activity

        tyson Tyson Phillips (Inactive) created issue -
        tyson Tyson Phillips (Inactive) made changes -
        Field Original Value New Value
        Summary cPanel: Attempt new account username if one is taken cPanel: Set different username if one is taken
        admin Paul Phillips made changes -
        Fix Version/s 3.0.0.b5 [ 10209 ]
        Fix Version/s 3.0.0.b4 [ 10208 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.0.0.b6 [ 10210 ]
        Fix Version/s 3.0.0.b5 [ 10209 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.0.0.b7 [ 10211 ]
        Fix Version/s 3.0.0.b6 [ 10210 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.0.0 [ 10000 ]
        Fix Version/s 3.0.0.b7 [ 10211 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.0.1 [ 10212 ]
        Fix Version/s 3.0.0 [ 10000 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.0.2 [ 10213 ]
        Fix Version/s 3.0.1 [ 10212 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.0.3 [ 10214 ]
        Fix Version/s 3.0.2 [ 10213 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.1.0 [ 10001 ]
        Fix Version/s 3.0.3 [ 10214 ]
        admin Paul Phillips made changes -
        Sprint Sprint 1 [ 1 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.2.0 [ 10002 ]
        Fix Version/s 3.1.0 [ 10001 ]
        admin Paul Phillips made changes -
        Rank Ranked higher
        tyson Tyson Phillips (Inactive) made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        tyson Tyson Phillips (Inactive) added a comment -

        Added.
        If duplicates, username will be first 4 characters of domain name followed by a number. It will try up to 10,000 usernames before giving up.

        Show
        tyson Tyson Phillips (Inactive) added a comment - Added. If duplicates, username will be first 4 characters of domain name followed by a number. It will try up to 10,000 usernames before giving up.
        tyson Tyson Phillips (Inactive) made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        tyson Tyson Phillips (Inactive) made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        tyson Tyson Phillips (Inactive) made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        tyson Tyson Phillips (Inactive) made changes -
        Security Private [ 10000 ]
        tyson Tyson Phillips (Inactive) made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        tyson Tyson Phillips (Inactive) made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            tyson Tyson Phillips (Inactive)
            Reporter:
            tyson Tyson Phillips (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              23/Apr/14

              Agile