Horizon password_validator entry

Bug #1640800 reported by Luke Hinds
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Luke Hinds

Bug Description

Horizon provides a password validation check, which OpenStack cloud operators can use to enforce password complexity checks for users within horizon.

A dictionary containing a regular expression which will be used for password validation and help text which will be displayed if the password does not pass validation. The help text should describe the password requirements if there are any.

File: /etc/openstack-dashboard/local_settings

Key / Value entry:

HORIZON_CONFIG["password_validator"] = {
    "regex": '.*',
    "help_text": _("Your password does not meet the requirements."),
}

This could be implemented by operators entering regex and help_text into a tripleo-heat-template.

Luke Hinds (lhinds)
Changed in tripleo:
milestone: none → ocata-3
description: updated
Luke Hinds (lhinds)
Changed in tripleo:
status: Triaged → In Progress
Changed in tripleo:
assignee: nobody → Luke Hinds (lhinds)
Revision history for this message
Luke Hinds (lhinds) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/413644
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=0e18ac5fdec4b9eeaef7f6aa83c466e86415e4e2
Submitter: Jenkins
Branch: master

commit 0e18ac5fdec4b9eeaef7f6aa83c466e86415e4e2
Author: Luke Hinds <email address hidden>
Date: Wed Dec 21 13:57:47 2016 +0000

    Manage password_validator regex

    Horizon provides a password validation check, which OpenStack cloud
    operators can use to enforce password complexity checks for users
    within horizon.

    A dictionary containing a regular expression can be used for
    password validation with help text that is displayed if the password
    does not pass validation.

    HORIZON_CONFIG["password_validator"] = {
        "regex": '.*',
          "help_text": _("Your password does not meet the requirements."),

    }

    This change allows injection of the regex into horizons local_settings
    file from a tripleo heat template

    Change-Id: Ib6517c8f96148bea002b0e3442a26367b236928f
    Depends-On: If82a80ed6a8e6e65aecc2a25ee6d60640ae03c9a
    Closes-Bug: #1640800

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 6.0.0.0rc1

This issue was fixed in the openstack/tripleo-heat-templates 6.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.