Fix initial mapping example

The first example of federation mapping rules that appears in the
Configure Federation docs is incorrect. The "any_one_of" matcher returns
a boolean, not the value of the match, and so it would not map to a
local rule like "name": "{0}". This patch fixes the example so that it
works properly but still has the intended meaning, which is to filter on
username.

Change-Id: I1f69f5cdde470811045fc60a72e50c2bd688be53
This commit is contained in:
Colleen Murphy 2017-10-15 22:03:39 +02:00
parent 946f334827
commit 11d1894c42
1 changed files with 3 additions and 0 deletions

View File

@ -241,6 +241,9 @@ users to the group you already created:
}
],
"remote": [
{
"type": "openstack_user"
},
{
"type": "openstack_user",
"any_one_of": [