← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1804518] [NEW] Remove obsolete protocol policies from policy.v3cloudsample.json

 

Public bug reported:

Once support for scope types landed in the protocol API policies, the
policies in policy.v3cloudsample.json became obsolete [0][1].

We should add formal protection for the policies with enforce_scope =
True in keystone.tests.unit.protection.v3 and remove the old policies
from the v3 sample policy file.

This will reduce confusion by having a true default policy for
protocols.

[0] https://review.openstack.org/#/c/526161/
[1] https://git.openstack.org/cgit/openstack/keystone/tree/etc/policy.v3cloudsample.json?id=fb73912d87b61c419a86c0a9415ebdcf1e186927#n204

** Affects: keystone
     Importance: Medium
         Status: Triaged


** Tags: policy

** Changed in: keystone
       Status: New => Triaged

** Changed in: keystone
   Importance: Undecided => Medium

** Tags added: policy

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

Title:
  Remove obsolete protocol policies from policy.v3cloudsample.json

Status in OpenStack Identity (keystone):
  Triaged

Bug description:
  Once support for scope types landed in the protocol API policies, the
  policies in policy.v3cloudsample.json became obsolete [0][1].

  We should add formal protection for the policies with enforce_scope =
  True in keystone.tests.unit.protection.v3 and remove the old policies
  from the v3 sample policy file.

  This will reduce confusion by having a true default policy for
  protocols.

  [0] https://review.openstack.org/#/c/526161/
  [1] https://git.openstack.org/cgit/openstack/keystone/tree/etc/policy.v3cloudsample.json?id=fb73912d87b61c419a86c0a9415ebdcf1e186927#n204

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


Follow ups