← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1897269] [NEW] Locked password in user overview always shows "no" (False)

 

Public bug reported:

Version: OpenStack Horizon stable/ussri (18.3.2-12-gc348787fa)

** Action **

View user details in Horizon.

** Expected **

"Locked password: <whatever was set>"

** Actual behaviour **

"Locked password: no"

** Fix **

https://github.com/ossobv/horizon/commit/f4a3bea22d3f8f71c5ad0da46945244c9f3b67f5
^- set lock_password in the Tab context instead of in the super-context

Now it can be seen in the tab details:
openstack_dashboard/dashboards/identity/users/templates/users/_detail_overview.html
```
    <dt>{% trans "Lock password" %}</dt>
    <dd>{{ lock_password|yesno:"yes,no"|capfirst }}</dd>
```

Cheers,
Walter Doekes
OSSO B.V.

** Affects: horizon
     Importance: Undecided
         Status: New

** Patch added: "possible fix"
   https://bugs.launchpad.net/bugs/1897269/+attachment/5414157/+files/f4a3bea22d3f8f71c5ad0da46945244c9f3b67f5.patch

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1897269

Title:
  Locked password in user overview always shows "no" (False)

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Version: OpenStack Horizon stable/ussri (18.3.2-12-gc348787fa)

  ** Action **

  View user details in Horizon.

  ** Expected **

  "Locked password: <whatever was set>"

  ** Actual behaviour **

  "Locked password: no"

  ** Fix **

  https://github.com/ossobv/horizon/commit/f4a3bea22d3f8f71c5ad0da46945244c9f3b67f5
  ^- set lock_password in the Tab context instead of in the super-context

  Now it can be seen in the tab details:
  openstack_dashboard/dashboards/identity/users/templates/users/_detail_overview.html
  ```
      <dt>{% trans "Lock password" %}</dt>
      <dd>{{ lock_password|yesno:"yes,no"|capfirst }}</dd>
  ```

  Cheers,
  Walter Doekes
  OSSO B.V.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1897269/+subscriptions


Follow ups