Uploaded image for project: 'Airavata'
  1. Airavata
  2. AIRAVATA-3096 PGA and Django Portal Users and user group related issues
  3. AIRAVATA-3111

When adding the very first user to a new user group, role 'Admin' does not get saved.

Details

    Description

      1. Clicked on create new group
      2. Add group name
      3. Search for a user and select the user, user get listed
      4. Change the role to admin
      5. Click submit
      6. Return to the group again by clicking 'Edit'
      7. The added user is with role 'Member'. Not 'Admin' as you selected. If added more users at the very first time and change their roles, none of them are saved as 'Admin'
      8. If you change the role second time and submit, then it saves as 'Admin'

      Attachments

        Activity

          marcuschristie Marcus Christie added a comment - Looks like this is a bug in GroupManagerService.createGroup: it only adds members, not admins: https://github.com/apache/airavata/blob/staging/airavata-services/profile-service/profile-service-server/src/main/java/org/apache/airavata/service/profile/handlers/GroupManagerServiceHandler.java#L60

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

          Merge pull request #229 from aarushiibisht/AIRAVATA-3111_bug

          AIRAVATA-3111 refactored the create group method to add admins in the group

          jira-bot ASF subversion and git services added a comment - Commit 91b8fa28a40ed4c58e52ed87d5a330f46210ba59 in airavata's branch refs/heads/develop from Marcus Christie [ https://gitbox.apache.org/repos/asf?p=airavata.git;h=91b8fa2 ] Merge pull request #229 from aarushiibisht/ AIRAVATA-3111 _bug AIRAVATA-3111 refactored the create group method to add admins in the group

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

          Merge pull request #229 from aarushiibisht/AIRAVATA-3111_bug

          AIRAVATA-3111 refactored the create group method to add admins in the group

          jira-bot ASF subversion and git services added a comment - Commit 91b8fa28a40ed4c58e52ed87d5a330f46210ba59 in airavata's branch refs/heads/develop from Marcus Christie [ https://gitbox.apache.org/repos/asf?p=airavata.git;h=91b8fa2 ] Merge pull request #229 from aarushiibisht/ AIRAVATA-3111 _bug AIRAVATA-3111 refactored the create group method to add admins in the group

          eroma_a,

          This one is ready for testing in develop environment.

          marcuschristie Marcus Christie added a comment - eroma_a , This one is ready for testing in develop environment.

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

          Merge pull request #229 from aarushiibisht/AIRAVATA-3111_bug

          AIRAVATA-3111 refactored the create group method to add admins in the group

          jira-bot ASF subversion and git services added a comment - Commit 91b8fa28a40ed4c58e52ed87d5a330f46210ba59 in airavata's branch refs/heads/staging from Marcus Christie [ https://gitbox.apache.org/repos/asf?p=airavata.git;h=91b8fa2 ] Merge pull request #229 from aarushiibisht/ AIRAVATA-3111 _bug AIRAVATA-3111 refactored the create group method to add admins in the group

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

          Merge pull request #229 from aarushiibisht/AIRAVATA-3111_bug

          AIRAVATA-3111 refactored the create group method to add admins in the group

          jira-bot ASF subversion and git services added a comment - Commit 91b8fa28a40ed4c58e52ed87d5a330f46210ba59 in airavata's branch refs/heads/staging from Marcus Christie [ https://gitbox.apache.org/repos/asf?p=airavata.git;h=91b8fa2 ] Merge pull request #229 from aarushiibisht/ AIRAVATA-3111 _bug AIRAVATA-3111 refactored the create group method to add admins in the group
          eroma_a Eroma added a comment -

          Closing this issue. Tested in https://gateways19.scigap.org/

          eroma_a Eroma added a comment - Closing this issue. Tested in https://gateways19.scigap.org/

          People

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

            Dates

              Created:
              Updated:
              Resolved: