Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-30144

If user changes their email address in Accounts tool they should be prompted to change their username

    Details

    • 11 status:
      Resolved
    • Test Plan:
      Hide

      A/ For the username "ferdie@gmail.com"

      1/ try to change email to one that already exists in the system. Check the correct warning is seen

      2/ If the local domain is sakaiproject.org then try to change email address to fred.bloggs@unit.sakaiproject.org - should fail

      3/ try to change to fred.bloggs@sakaiproject.org - should fail

      4/ change email but opt not to change account name. Check no validation email is sent

      5/ change email and agree to change account. Do not validate though and make sure old account name still works

      6/ Change email and account and validate and check it works

      7/ Use Account page to change some other attribute

      8/ Locate a user who currently has non-matching account and email. Check that the account tool prompts a change when save is clicked.

      B/ For username "ferdie" make sure the user can change their email address without issue.

      Also test the url which is sent in the email when a new user is added to the system.

      Show
      A/ For the username "ferdie@gmail.com" 1/ try to change email to one that already exists in the system. Check the correct warning is seen 2/ If the local domain is sakaiproject.org then try to change email address to fred.bloggs@unit.sakaiproject.org - should fail 3/ try to change to fred.bloggs@sakaiproject.org - should fail 4/ change email but opt not to change account name. Check no validation email is sent 5/ change email and agree to change account. Do not validate though and make sure old account name still works 6/ Change email and account and validate and check it works 7/ Use Account page to change some other attribute 8/ Locate a user who currently has non-matching account and email. Check that the account tool prompts a change when save is clicked. B/ For username "ferdie" make sure the user can change their email address without issue. Also test the url which is sent in the email when a new user is added to the system.

      Description

      Currently an external (non provided) user can use Account tool to change their email address. When completed, they will have a username that is their old email address and an email which is their new address. This is V confusing PLUS there is a high likelihood that they will be added to a site using their new email address and will therefore have 2 separate accounts

      When somebody changes their email AND have a username that is an email address, they should be told that we recommend that their account name is also changed. They shouldn't be actually forced into this but we should make it the default course of action with an ability somewhere in the process to retain their old account name if they really want to. We should check that the proposed new account name doesnt already exist. If it does, the user should be warned of this.

      "There is already an account with this email address, are you sure you want to continue? We regret that unfortunately it is not possible to merge two or more accounts."

      Give them a yes / no option to get Sakai to actually change the username but only if the system doesnt have one already.

      HOWEVER, this must all be integrated to the account validation process, the need to validate that they own the email address just as they do when setting the account up in the first place. In order for the username to be changed they must have received the email and clicked on the validate link.

      Additionally We must automatically prevent users changing their email address in Account to one which has a local domain. The local domain is set somewhere in a property because I think it is used in Site Info > Add participants. We must re-use this property.

      This facility must be enabled by default by a property but must be able to be turned off so if an institution want to do this then they can.

      Oxford refs: WL-3675 AND WL-4148

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  adamm Adam Marshall
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code