Fix KVS create_grant to not raise NotFound if no user/group
The KVS assigment backend would fail with NotFound if the user
or group didn't exist when calling create_grant while the SQL
assignment backend did not fail.
It's unreasonable to check if the user or group exists when
creating a grant, so the KVS assignment backend is changed to
not require the user or group to exist.
Reviewed: https:/ /review. openstack. org/54626 github. com/openstack/ keystone/ commit/ da8a0ebde12e990 ea3c2a493f7b12c 765514f861
Committed: http://
Submitter: Jenkins
Branch: master
commit da8a0ebde12e990 ea3c2a493f7b12c 765514f861
Author: Brant Knudson <email address hidden>
Date: Wed Oct 30 16:59:20 2013 -0500
Fix KVS create_grant to not raise NotFound if no user/group
The KVS assigment backend would fail with NotFound if the user
or group didn't exist when calling create_grant while the SQL
assignment backend did not fail.
It's unreasonable to check if the user or group exists when
creating a grant, so the KVS assignment backend is changed to
not require the user or group to exist.
Closes-Bug: #1239476 33ac7158968d72c bfbe37528dc
Change-Id: I2d3b2fd82e7d4d