Uploaded image for project: 'Gazelle User Management'
  1. Gazelle User Management
  2. GUM-170

[DELEG] Block local account creation for a delegated-organization

    Details

    • Type: Story
    • Status: Resolved
    • Priority: Last
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: None
    • Labels:
      None

      Description

       -> Block local account creation for a delegated-organization.

      As new user, I cannot select a delegated-organization to join during account creation.

      -- technical --
      The front should get the list of orga by requesting GET /organizations?delegated=false
      By web-service, if a delegated-organization is referenced for registration on POST /users or /users/registration, the request must be rejected.

      2-4d

      In UserRegistrationService -> in method assertNewOrganizationIsValid add a condition that check if the organization is delegated -> if so throw a new illegalArgumentException

      During user registration, check if the organization list contains delegated Orga -> if yes, probably have to add a webservice in TM to get all non delegated organizations so gum-ui can call it during user registration

        Attachments

          Activity

            People

            Assignee:
            vlorand Valentin Lorand
            Reporter:
            ceoche Cédric Eoche-Duval
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Start date:
              End date:

                Time Tracking

                Estimated:
                Original Estimate - 4 days
                4d
                Remaining:
                Time Spent - 2 days Remaining Estimate - 2 days
                2d
                Logged:
                Time Spent - 2 days Remaining Estimate - 2 days
                2d

                  Potential Duplicates