keystone/keystone/assignment
Samuel de Medeiros Queiroz 76b1110f57 Refactors _get_names_from_role_assignments
The method _get_names_from_role_assignments is refactored to start
building up the assignment including names from a copy of the
original assignment (without names).

That way, key/value pairs that are just copied over (such as
inheritance attribute) do not need to be analyzed anymore.

When iterating over the key/value pairs of the original assignment,
it was naming them as id_type/id_. That naming could be better, as
pointed out in reviews on [1]. They have been simply renamed to
key/value.

[1] https://review.openstack.org/#/c/380973

Change-Id: If377f046a7ae8061f88a1d3d526b564b21645bcc
2016-12-13 20:32:57 +00:00
..
backends Removes unused default_assignment_driver method 2016-11-29 17:39:18 +00:00
role_backends Remove stable driver interfaces 2016-09-28 17:18:37 +00:00
__init__.py Remove exposure of routers at package level 2015-12-03 15:06:56 -03:00
controllers.py Domain included for role in list_role_assignment 2016-12-06 10:26:13 -06:00
core.py Refactors _get_names_from_role_assignments 2016-12-13 20:32:57 +00:00
routers.py Remove CONF.os_inherit.enabled 2016-12-05 10:52:35 -08:00
schema.py Add schema validation to create role 2016-07-22 09:37:25 -05:00