← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1433313] [NEW] Glance's Policy Enforcer accesses oslo_policy options

 

Public bug reported:

In glance/api/policy.py the subclass of oslo_policy.policy.Enforcer
overrides __init__ to check to see if the policy file exists which is
specified in [oslo_policy]/policy_file.

This seems superfluous and like something that oslo_policy should
already handle. There doesn't seem to be a good reason for glance to be
doing this instead of oslo_policy handling it.

** Affects: glance
     Importance: Low
     Assignee: Ian Cordasco (icordasc)
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1433313

Title:
  Glance's Policy Enforcer accesses oslo_policy options

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  In glance/api/policy.py the subclass of oslo_policy.policy.Enforcer
  overrides __init__ to check to see if the policy file exists which is
  specified in [oslo_policy]/policy_file.

  This seems superfluous and like something that oslo_policy should
  already handle. There doesn't seem to be a good reason for glance to
  be doing this instead of oslo_policy handling it.

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


Follow ups

References