keystone/keystone/tests/unit/assignment
prashkre d09c337619 Handle group NotFound in effective assignment list
When keystone is using an external identity backend such as LDAP for
storing users and groups, but storing role assignments in the local db,
and a group that has role assignments is deleted out-of-band, its
assignments will still exist in the keystone database. If, after this,
a user attempts to list effective role assignments, keystone will try
to lookup the group and fail with NotFound.

This catches the NotFound exception of the list_users_in_group call and
returns an empty user list so that the effective assignments list does
not fail.

Closes-Bug: 1693510
Change-Id: Ie5f69b150d59287bd0bc68f1ce9eecfeab04c91a
2017-05-26 18:09:03 -04:00
..
role_backends Move role backend tests 2016-03-09 00:21:18 +00:00
__init__.py Split assignment backend tests 2016-03-04 15:24:45 -03:00
test_backends.py Handle group NotFound in effective assignment list 2017-05-26 18:09:03 -04:00
test_core.py Fix multiple uuid warnings with pycadf 2017-02-08 21:16:43 -06:00