TheJumpCloud / jumpcloud-ADMU

JumpCloud Active Directory Migration Utility - JCADMU
23 stars 7 forks source link

Admu v2.1.0 #80

Closed jworkmanjc closed 1 year ago

jworkmanjc commented 1 year ago

Issues

What does this solve?

New parameter to allow users to be bound as sudo enabled (or administrator)

Administrators with MTP admin keys could not identify users to bind in previous versions of the ADMU if they were using their MTP API Key. This release addresses this limitation by specifically prompting admins to select a MTP Org if a MTP Key is detected.

Is there anything particularly tricky?

N/A

How should this be tested?

[admin autobind steps] Unit & Functional tests were written to test the command line functionality of this new parameter set.

To manually test the form parameter set:

[Test Case: GUI Migration (MTP)]

[Test Case: CLI Migration (MTP)]

Screenshots

Screen Shot 2022-11-16 at 2 45 12 PM

New GUI displays OrgName/ OrgID after an API Key is validated: Screen Shot 2022-11-16 at 8 46 53 AM

When an MPT Key is validated a GUI prompt is presented, admins can select one org from a dropdown list. Org IDs are presented because Org Names are not unique: Screen Shot 2022-11-16 at 8 47 19 AM

Changed behavior: When the AutoBind JumpCloud User option is selected. A validation step now occurs and the API Key is checked before migration begins.

If the Key is an MTP Key and no Organization ID is provided, the script will error and exit Screen Shot 2022-11-16 at 9 44 31 AM

If the ORG ID is provided, the script will validate that the Key and ORG ID match. This behavior is the same for a non-MTP Admin key. As such there should be no need for Non-MTP admins to edit their scripts and pass in an ORG ID. MTP Admins will need to do this Screen Shot 2022-11-16 at 9 48 09 AM