Details
-
Type: Story
-
Status: Resolved
-
Priority: Last
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 3.0.0
-
Component/s: None
-
Labels:None
-
Sprint:2024-03 #2, 2024-04 #1
-
Teams:
-
Account:GUM Delegation 2024 (KER-IDS-GZL-DELEGATION-2024)
-
Epic Link:
-
Program Increment:None
-
Targeted team:Default
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
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