yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #26843
[Bug 1410415] [NEW] Role inheritance API is inconsistent with implementation
Public bug reported:
When listing effective role assignments, the spec [1] says the ref
should contain inheritance info inside its scope:
"OS-INHERIT:inherited_to": ["projects"]
but in fact the code [2] is implemented without having "projects" inside
a list, that is:
"OS-INHERIT:inherited_to": "projects"
[1] http://specs.openstack.org/openstack/keystone-specs/api/v3/identity-api-v3-os-inherit-ext.html#list-effective-role-assignments
[2] https://github.com/openstack/keystone/blob/master/keystone/assignment/controllers.py#L665-L666
** Affects: keystone
Importance: Undecided
Assignee: Samuel de Medeiros Queiroz (samuel-z)
Status: In Progress
** Changed in: keystone
Assignee: (unassigned) => Samuel de Medeiros Queiroz (samuel-z)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1410415
Title:
Role inheritance API is inconsistent with implementation
Status in OpenStack Identity (Keystone):
In Progress
Bug description:
When listing effective role assignments, the spec [1] says the ref
should contain inheritance info inside its scope:
"OS-INHERIT:inherited_to": ["projects"]
but in fact the code [2] is implemented without having "projects"
inside a list, that is:
"OS-INHERIT:inherited_to": "projects"
[1] http://specs.openstack.org/openstack/keystone-specs/api/v3/identity-api-v3-os-inherit-ext.html#list-effective-role-assignments
[2] https://github.com/openstack/keystone/blob/master/keystone/assignment/controllers.py#L665-L666
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1410415/+subscriptions
Follow ups
References