← Back to team overview

yahoo-eng-team team mailing list archive

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

 

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

commit 6c6c6049f5558f866270caa193abd9d6c673e296
Author: Lance Bragstad <lbragstad@xxxxxxxxx>
Date:   Wed Nov 21 17:48:31 2018 +0000

    Remove endpoint 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 endpoint behavior
    by removing them.
    
    Change-Id: I423e54c359b787efdda70f5d141f21e9103f3524
    Closes-Bug: 1804482


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

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

Status in OpenStack Identity (keystone):
  Fix Released

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


References