← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1703066] Re: Add "default" rule when generate policy.yaml.sample

 

Reviewed:  https://review.openstack.org/483501
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=69c81b16e07b67ba0a0bc8e1f55049e7987c5b8c
Submitter: Jenkins
Branch:    master

commit 69c81b16e07b67ba0a0bc8e1f55049e7987c5b8c
Author: Rob Cresswell <robert.cresswell@xxxxxxxxxxx>
Date:   Thu Jul 13 19:27:22 2017 +0100

    Fix an incorrect policy rule in Admin > Instances
    
    Change-Id: I765ae0c36d19c88138fbea9545a2ca4791377ffb
    Closes-Bug: #1703066


** Changed in: horizon
       Status: In Progress => Fix Released

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

Title:
   Add "default" rule when generate policy.yaml.sample

Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in OpenStack Compute (nova):
  Incomplete

Bug description:
  When we use tox to generate "policy.yaml.sample", the "default" policy
  is not included in the file. The default rule is enforced when a
  requested rule is not found. I think it's necessary for our project.

  By the way, I tried to use "policy.yaml" generated by nova in horizon.
  And horizon can't show the "Admin->Instances" panel. I found this
  panel need a rule called "compute:get_all". I found the default policy
  file in horizon called "nova_policy.json" has "default" rule. So it
  can work well.

  So I think we should add this "default" rule when we generate
  "policy.yaml.sample" in nova.

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


References