The "identity:check_role_for_trust" was defined in the sample
policy files but there is no actual mapping for it, so setting
a value for this target has no effect. If or when the
mapping gets added then this target must be added back in.
Fixed the double protected call in "get_role_for_trust" by changing its
call to a private unprotected version of "check_role_for_trust".
Also, marking the public version of "check_role_for_trust" as deprecated
for future cleanup.
Reviewed: https:/ /review. openstack. org/156763 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=6ecf99c779c 3373acaa6650f15 116abade1207f1
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6ecf99c779c3373 acaa6650f15116a bade1207f1
Author: lin-hua-cheng <email address hidden>
Date: Tue Feb 17 12:46:38 2015 -0800
Remove check_role_ for_trust from sample policies
The "identity: check_role_ for_trust" was defined in the sample
policy files but there is no actual mapping for it, so setting
a value for this target has no effect. If or when the
mapping gets added then this target must be added back in.
Fixed the double protected call in "get_role_ for_trust" by changing its role_for_ trust".
call to a private unprotected version of "check_
Also, marking the public version of "check_ role_for_ trust" as deprecated
for future cleanup.
Change-Id: I1c2b1186e37e31 eaf556f81db686c c362768a5ae
Closes-Bug: #1421966