← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1805880] [NEW] Remove obsolete limit and registered limit policies from policy.v3cloudsample.json

 

Public bug reported:

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

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]
http://git.openstack.org/cgit/openstack/keystone/tree/etc/policy.v3cloudsample.json?id=fb73912d87b61c419a86c0a9415ebdcf1e186927#n31

** Affects: keystone
     Importance: Medium
         Status: Triaged


** Tags: limits policy

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

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

** Tags added: limits 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/1805880

Title:
  Remove obsolete limit and registered limit policies from
  policy.v3cloudsample.json

Status in OpenStack Identity (keystone):
  Triaged

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

  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]
  http://git.openstack.org/cgit/openstack/keystone/tree/etc/policy.v3cloudsample.json?id=fb73912d87b61c419a86c0a9415ebdcf1e186927#n31

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


Follow ups