← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1643013] [NEW] admin dashboard policy check wrong

 

Public bug reported:

The addition of all the hardcoded policy rules in dashboards/admin/dashboard.py is unnecessary and actually wrong because it imposes policy based on content for panels that may be disabled. The functionality is actually already built in and designed to be dynamic, see: https://github.com/openstack/horizon/blob/master/horizon/base.py#L648
where the panels are iterated over to check for policy.

** Affects: horizon
     Importance: High
     Assignee: David Lyle (david-lyle)
         Status: New

-- 
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/1643013

Title:
  admin dashboard policy check wrong

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  The addition of all the hardcoded policy rules in dashboards/admin/dashboard.py is unnecessary and actually wrong because it imposes policy based on content for panels that may be disabled. The functionality is actually already built in and designed to be dynamic, see: https://github.com/openstack/horizon/blob/master/horizon/base.py#L648
  where the panels are iterated over to check for policy.

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


Follow ups