keystone/keystone/tests/unit/backend
Clenimar Filemon 809e5533cc Fix incorrect assumption when deleting assignments
The methods delete_user_assignments() and delete_group_assignments()
in the assignment backend remove all assignments for a user/group -
although the code fails to set the type of assignment and just uses
actor_id, making an assumption that user_id != group_id.

This patch specifies the type of assignments in the delete (i.e
USER_PROJECT/USER_DOMAIN or GROUP_PROJECT/GROUP_DOMAIN) to make sure
no assignment will be mistakenly deleted.

Change-Id: I246a61a291dd41490f49b7b26a04f93e69e61d7a
Closes-Bug: #1440135
2016-02-24 00:10:36 -03:00
..
domain_config Remove additional references to ldap role attribs 2016-01-22 01:41:42 +00:00
legacy_drivers Fix incorrect assumption when deleting assignments 2016-02-24 00:10:36 -03:00
role Fix nits from domain specific roles CRUD support 2016-02-11 09:44:01 -03:00
__init__.py Move backend role tests into their own module 2015-02-17 00:33:16 +00:00
core_ldap.py Fix D204: blank line required after class docstring (PEP257) 2015-10-28 07:25:24 +00:00
core_sql.py Change tests to use common name for keystone.tests.unit 2015-09-04 18:21:42 +00:00