Comment 4 for bug 1643074

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (stable/newton)

Reviewed: https://review.openstack.org/407121
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=51a039e4616d9e6b3c953122ba357792ea3886a4
Submitter: Jenkins
Branch: stable/newton

commit 51a039e4616d9e6b3c953122ba357792ea3886a4
Author: David Lyle <email address hidden>
Date: Fri Nov 18 15:02:20 2016 -0700

    Rework hardcoded policy in admin dash

    Since the content in a Dashboard is not hardcoded, having hardcoded
    policy checks to specific services at the dashboard level is wrong.
    The Dashboard was designed to evaluate all panels to determine policy
    so this type of thing could be avoided. This patch moves the content
    specific policy checks to the panels where they apply.

    Additionally, this fix uncovered another bug where policy_rules are
    wrapped in a list regardless of format. This patch adds a check and
    only wraps where necessary.

    Change-Id: I79314a45c3c552ebcb3bb7cc881c2467fa009c5d
    Closes-Bug: #1643013
    Closes-Bug: #1643074
    (cherry picked from commit 43e9df85ab286ddee96e9cff97f551781baf70d1)