SQL fix for get_roles_for_user_and_project user=group ID
When there was a role assigned to a group with the same ID as a
user, the SQL assignment backend would incorrectly return the
assignment to the group when requesting roles for the user via
the get_roles_for_user_and_project method.
With this change, assignments to a group with the same ID are not
returned for the user when calling get_roles_for_user_and_project.
Reviewed: https:/ /review. openstack. org/94396 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=97dfd55ad1b 40365754dcbfce8 56f7ffae280a44
Committed: https:/
Submitter: Jenkins
Branch: master
commit 97dfd55ad1b4036 5754dcbfce856f7 ffae280a44
Author: Brant Knudson <email address hidden>
Date: Fri Apr 18 11:18:42 2014 -0500
SQL fix for get_roles_ for_user_ and_project user=group ID
When there was a role assigned to a group with the same ID as a for_user_ and_project method.
user, the SQL assignment backend would incorrectly return the
assignment to the group when requesting roles for the user via
the get_roles_
With this change, assignments to a group with the same ID are not for_user_ and_project.
returned for the user when calling get_roles_
Change-Id: Id3d6f66c995e65 e37d909359420d7 1ecdde86b69
Partial-Bug: #1309228