← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1804462] Re: Remove obsolete service policies from policy.v3cloudsample.json

 

Reviewed:  https://review.openstack.org/619282
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=c83fcbc42aac247789c9a53abfbe237fa9640d38
Submitter: Zuul
Branch:    master

commit c83fcbc42aac247789c9a53abfbe237fa9640d38
Author: Lance Bragstad <lbragstad@xxxxxxxxx>
Date:   Wed Nov 21 15:45:50 2018 +0000

    Remove service policies from policy.v3cloudsample.json
    
    By incorporating system-scope and default roles, we've effectively
    made these policies obsolete. We can simplify what we maintain and
    provide a more consistent, unified view of default service behavior by
    removing them.
    
    Change-Id: Ifa2282481ee3fc544c1d50ac8e8972b0d3a5332e
    Closes-Bug: 1804462


** Changed in: keystone
       Status: In Progress => Fix Released

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

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

Status in OpenStack Identity (keystone):
  Fix Released

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

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

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


References