← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1408862] [NEW] type filter of policy list doesn't take effect

 

Public bug reported:

According to the code and the comment of code, it seams that we don't
want to support type filter for policy list, refer to:
https://github.com/openstack/keystone/blob/master/keystone/policy/core.py#L64

However, the controller defines the type filter:
https://github.com/openstack/keystone/blob/master/keystone/policy/controllers.py#L34
and the doc says we support this too: https://github.com/openstack
/keystone-specs/blob/master/api/v3/identity-api-v3.rst#list-policies

I think we should clean up the controller and make the doc match code.

** Affects: keystone
     Importance: Undecided
     Assignee: wanghong (w-wanghong)
         Status: New

** Changed in: keystone
     Assignee: (unassigned) => wanghong (w-wanghong)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1408862

Title:
  type filter of policy list doesn't take effect

Status in OpenStack Identity (Keystone):
  New

Bug description:
  According to the code and the comment of code, it seams that we don't
  want to support type filter for policy list, refer to:
  https://github.com/openstack/keystone/blob/master/keystone/policy/core.py#L64

  However, the controller defines the type filter:
  https://github.com/openstack/keystone/blob/master/keystone/policy/controllers.py#L34
  and the doc says we support this too: https://github.com/openstack
  /keystone-specs/blob/master/api/v3/identity-api-v3.rst#list-policies

  I think we should clean up the controller and make the doc match code.

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


Follow ups

References