← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1804520] [NEW] Remove obsolete service provider policies from policy.v3cloudsample.json

 

Public bug reported:

Once support for scope types landed in the service provider 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 identity
providers.

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

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

Title:
  Remove obsolete service provider policies from
  policy.v3cloudsample.json

Status in OpenStack Identity (keystone):
  Triaged

Bug description:
  Once support for scope types landed in the service provider 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
  identity providers.

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

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


Follow ups