Fix remove role assignment adds role using LDAP assignment
When using the LDAP assignment backend, attempting to remove a
role assignment when the role hadn't been used before would
actually add the role assignment and would not return a
404 Not Found like the SQL backend.
This change makes it so that when attempt to remove a role that
wasn't assigned then 404 Not Found is returned.
Reviewed: https:/ /review. openstack. org/53012 github. com/openstack/ keystone/ commit/ c6800ca1ac984c8 79e75826df6694d 6199444ea0
Committed: http://
Submitter: Jenkins
Branch: master
commit c6800ca1ac984c8 79e75826df6694d 6199444ea0
Author: Brant Knudson <email address hidden>
Date: Mon Oct 21 15:31:23 2013 -0500
Fix remove role assignment adds role using LDAP assignment
When using the LDAP assignment backend, attempting to remove a
role assignment when the role hadn't been used before would
actually add the role assignment and would not return a
404 Not Found like the SQL backend.
This change makes it so that when attempt to remove a role that
wasn't assigned then 404 Not Found is returned.
Closes-Bug: #1242855 241d0363d0ab52d 2c11410e8b3
Change-Id: I28ccd26cc4bb1a