Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add root password validation regex for Azure dialog #12967

Merged
merged 3 commits into from
Dec 5, 2016
Merged

Add root password validation regex for Azure dialog #12967

merged 3 commits into from
Dec 5, 2016

Conversation

djberg96
Copy link
Contributor

@djberg96 djberg96 commented Dec 2, 2016

This attempts to add password validation for Azure VM admin/root passwords. The password for a VM must be 12-72 characters long, and contain at least one uppercase character, one lowercase character, and one number.

https://bugzilla.redhat.com/show_bug.cgi?id=1377890

Marked as a WIP for now since the UI doesn't seem to honor the required restrictions, even without this PR.

@djberg96
Copy link
Contributor Author

djberg96 commented Dec 2, 2016

@miq-bot add_label wip

@miq-bot miq-bot added the wip label Dec 2, 2016
@djberg96
Copy link
Contributor Author

djberg96 commented Dec 2, 2016

@lfu Please take a look.

@djberg96 djberg96 changed the title [WIP] Add root password validation regex for Azure dialog Add root password validation regex for Azure dialog Dec 2, 2016
@djberg96
Copy link
Contributor Author

djberg96 commented Dec 2, 2016

@miq-bot remove_label wip

@miq-bot miq-bot removed the wip label Dec 2, 2016
@djberg96
Copy link
Contributor Author

djberg96 commented Dec 2, 2016

Thanks to some diligent work by Lucy, we discovered that the update_field_visibility method in provision_workflow.rb was disabled. By enabling it, the validation works.

@djberg96
Copy link
Contributor Author

djberg96 commented Dec 5, 2016

@miq-bot add_label euwe/yes

@gmcculloug gmcculloug merged commit 3fe2410 into ManageIQ:master Dec 5, 2016
@gmcculloug gmcculloug added this to the Sprint 50 Ending Dec 5, 2016 milestone Dec 5, 2016
@chrispy1
Copy link

chrispy1 commented Dec 6, 2016

@miq-bot add_label blocker

@miq-bot miq-bot added the blocker label Dec 6, 2016
@chessbyte
Copy link
Member

chessbyte pushed a commit that referenced this pull request Dec 6, 2016
Add root password validation regex for Azure dialog
(cherry picked from commit 3fe2410)

https://bugzilla.redhat.com/show_bug.cgi?id=1402059
@chessbyte
Copy link
Member

Euwe Backport details:

$ git log -1
commit 0154c024f1e767d189760b305cd4d4dd18f9f1c8
Author: Greg McCullough <gmccullo@redhat.com>
Date:   Mon Dec 5 11:37:13 2016 -0500

    Merge pull request #12967 from djberg96/service_dialog_root_password
    
    Add root password validation regex for Azure dialog
    (cherry picked from commit 3fe2410491c51f6953c2c282cf508c39552f4274)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1402059

@djberg96 djberg96 deleted the service_dialog_root_password branch July 18, 2017 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants