← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1806713] [NEW] Remove obsolete role policies from policy.v3cloudsample.json

 

Public bug reported:

Once support for scope types landed in the role 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 limits
and registered limits.

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

** Affects: keystone
     Importance: Undecided
         Status: New


** Tags: policy

** 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/1806713

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

Status in OpenStack Identity (keystone):
  New

Bug description:
  Once support for scope types landed in the role 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 limits
  and registered limits.

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

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


Follow ups