yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #34959
[Bug 1470718] [NEW] Federation mapping schema validation for "local" attributes could do better
Public bug reported:
I was bitten just now by getting my local attributes slightly wrong and
put the "type" key outside of the "user" block like this:
"local": [
{
"user": {
"name": "{0}",
"domain": {"id": "default"}
},
"type": "local"
}
],
Whereas it should have been like this:
"local": [
{
"user": {
"name": "{0}",
"domain": {"id": "default"},
"type": "local"
}
}
],
The end result was a validation error about not having a group. It would
have taken me ~3 hours less of digging (thanks stevemar!) if the
validation had pointed this error out.
** Affects: keystone
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1470718
Title:
Federation mapping schema validation for "local" attributes could do
better
Status in OpenStack Identity (Keystone):
New
Bug description:
I was bitten just now by getting my local attributes slightly wrong
and put the "type" key outside of the "user" block like this:
"local": [
{
"user": {
"name": "{0}",
"domain": {"id": "default"}
},
"type": "local"
}
],
Whereas it should have been like this:
"local": [
{
"user": {
"name": "{0}",
"domain": {"id": "default"},
"type": "local"
}
}
],
The end result was a validation error about not having a group. It
would have taken me ~3 hours less of digging (thanks stevemar!) if the
validation had pointed this error out.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1470718/+subscriptions
Follow ups
References