yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #26716
[Bug 1408862] Re: type filter of policy list doesn't take effect
The filtering by 'type' is not being done by the manager/driver. It's
being done at Controller level, at PolicyV3.wrap_collection(..)
** Changed in: keystone
Status: In Progress => Invalid
--
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):
Invalid
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
References