← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1804482] [NEW] Remove obsolete endpoint policies from policy.v3cloudsample.json

 

Public bug reported:

Once support for scope types landed in the endpoint 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
endpoints.

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

** Affects: keystone
     Importance: Medium
         Status: Triaged


** Tags: policy

** Tags added: policy

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

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

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

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

Status in OpenStack Identity (keystone):
  Triaged

Bug description:
  Once support for scope types landed in the endpoint 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
  endpoints.

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

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


Follow ups