Details

    Description

      1. An existing user in Admin group was removed from the group
      2. Then the same user was queried and tried to save in gateway-user group as an admin
      3. When clicked on submit an exception was thrown.
      4. Then tried to add the same user again as an admin.
      5. Still the same exception is thrown 

      Attachments

        Activity

          The problem is that user profile for "rquick@seagrid" didn't get replicated to the sharing registry (nor did it get replicated to the experiment registry).

          There are 928 such accounts in staging:

          select up.* from profile_service.USER_PROFILE up 
          where not exists (
            select 1 from sharing_catalog.SHARING_USER
            where USER_ID = up.AIRAVATA_INTERNAL_USER_ID
          );
          

          We might need a way to trigger replication. My guess is that a bug or something caused the replication to fail at some point but if it were triggered again it would complete.

          marcuschristie Marcus Christie added a comment - The problem is that user profile for "rquick@seagrid" didn't get replicated to the sharing registry (nor did it get replicated to the experiment registry). There are 928 such accounts in staging: select up.* from profile_service.USER_PROFILE up where not exists ( select 1 from sharing_catalog.SHARING_USER where USER_ID = up.AIRAVATA_INTERNAL_USER_ID ); We might need a way to trigger replication. My guess is that a bug or something caused the replication to fail at some point but if it were triggered again it would complete.

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

          AIRAVATA-3125 workaround for missing users in sharing registry

          jira-bot ASF subversion and git services added a comment - Commit 623bd05696de09ab2b5c113e90902b8c4ed49a1c in airavata's branch refs/heads/develop from Marcus Christie [ https://gitbox.apache.org/repos/asf?p=airavata.git;h=623bd05 ] AIRAVATA-3125 workaround for missing users in sharing registry

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

          AIRAVATA-3125 workaround for missing users in sharing registry

          jira-bot ASF subversion and git services added a comment - Commit 623bd05696de09ab2b5c113e90902b8c4ed49a1c in airavata's branch refs/heads/staging from Marcus Christie [ https://gitbox.apache.org/repos/asf?p=airavata.git;h=623bd05 ] AIRAVATA-3125 workaround for missing users in sharing registry

          Deployed to dev and staging environments.

          marcuschristie Marcus Christie added a comment - Deployed to dev and staging environments.
          eroma_a Eroma added a comment -

          Tested in https://django.staging.seagrid.org
          Removed a migrated user from admin group and then added the same user to gateway user group successfully in member role.

          eroma_a Eroma added a comment - Tested in https://django.staging.seagrid.org Removed a migrated user from admin group and then added the same user to gateway user group successfully in member role.

          People

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

            Dates

              Created:
              Updated:
              Resolved: