Details

    Description

      1. Once the accounts are created in PGA and email verification is done, tried to add the gateway_user group in Django
      2. The accounts are not searchable.
      3. They don't appear in the search to be added to the group.

      TODO
      • [x] investigate whether we can create the user profile at email verification time

      Attachments

        Activity

          eroma_a what accounts did you create?

          marcuschristie Marcus Christie added a comment - eroma_a what accounts did you create?

          eroma_a, did you log in with the newly created account? The user profile isn't created in Airavata until the user logs in the first time.

          marcuschristie Marcus Christie added a comment - eroma_a , did you log in with the newly created account? The user profile isn't created in Airavata until the user logs in the first time.

          Discussed with Eroma, I'll see if we can create the user profile at email verification time (so, have IAMAdminServices generate user profile when the user is enabled).

          marcuschristie Marcus Christie added a comment - Discussed with Eroma, I'll see if we can create the user profile at email verification time (so, have IAMAdminServices generate user profile when the user is enabled).

          Commit ea2d593887bffb57dc39ac9dd3c16624a776e732 in airavata's branch refs/heads/staging from Marcus Christie
          [ https://gitbox.apache.org/repos/asf?p=airavata.git;h=ea2d593 ]

          AIRAVATA-3098 Create user profile when user is enabled

          jira-bot ASF subversion and git services added a comment - Commit ea2d593887bffb57dc39ac9dd3c16624a776e732 in airavata's branch refs/heads/staging from Marcus Christie [ https://gitbox.apache.org/repos/asf?p=airavata.git;h=ea2d593 ] AIRAVATA-3098 Create user profile when user is enabled

          Commit ea2d593887bffb57dc39ac9dd3c16624a776e732 in airavata's branch refs/heads/develop from Marcus Christie
          [ https://gitbox.apache.org/repos/asf?p=airavata.git;h=ea2d593 ]

          AIRAVATA-3098 Create user profile when user is enabled

          jira-bot ASF subversion and git services added a comment - Commit ea2d593887bffb57dc39ac9dd3c16624a776e732 in airavata's branch refs/heads/develop from Marcus Christie [ https://gitbox.apache.org/repos/asf?p=airavata.git;h=ea2d593 ] AIRAVATA-3098 Create user profile when user is enabled

          This change will initialize the user profile when the user email is verified and the user is enabled (IAMAdminServices.enableUser). However we still need to call initializeUserProfile for users that don't go through email verification for example for users coming through identity providers like CILogon.

          Added a comment to that effect in the Django code:

          https://gitbox.apache.org/repos/asf?p=airavata-django-portal.git;h=9b19d8d

          marcuschristie Marcus Christie added a comment - This change will initialize the user profile when the user email is verified and the user is enabled (IAMAdminServices.enableUser). However we still need to call initializeUserProfile for users that don't go through email verification for example for users coming through identity providers like CILogon. Added a comment to that effect in the Django code: https://gitbox.apache.org/repos/asf?p=airavata-django-portal.git;h=9b19d8d

          eroma_a, this one is on develop too

          marcuschristie Marcus Christie added a comment - eroma_a , this one is on develop too
          eroma_a Eroma added a comment -

          Tested this in https://django.staging.seagrid.org
          A newly created and account verified account was able to add to the admin group, even though the user didnt log in after the account verification.

          eroma_a Eroma added a comment - Tested this in https://django.staging.seagrid.org A newly created and account verified account was able to add to the admin group, even though the user didnt log in after the account verification.

          People

            eroma_a Eroma
            eroma_a Eroma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: