Incorrect example in federated rules documentation

Bug #1507944 reported by Marek Denis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Medium
Marek Denis

Bug Description

There is a major error in one of the examples in the mapping rules documentation [0]

When mapping groups by names along with blacklist/whitelist keywords the correct structure is:

            "local": [
                {
                    "groups": "{0}",
                    "domain": {
                        "id": DEVELOPER_GROUP_DOMAIN_ID
                    }
                },
]

whereas one can find following in the documentation:

"local": [
                {
                    "groups": {
                        "name": "{1}",
                        "domain": {
                            "id": "0cd5e9"
                        }
                    }
                }
            ],

This should be fixed as soon as possible as uses following guidance will fail with their setup.

[0] http://docs.openstack.org/developer/keystone/mapping_combinations.html

Changed in keystone:
importance: Undecided → Medium
assignee: nobody → Marek Denis (marek-denis)
tags: added: documentation federation
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/237479

Changed in keystone:
status: New → In Progress
Changed in keystone:
milestone: none → mitaka-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/237479
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=dd3ef9ddd284bd5c6d92ec73029f87275ee3d741
Submitter: Jenkins
Branch: master

commit dd3ef9ddd284bd5c6d92ec73029f87275ee3d741
Author: Marek Denis <email address hidden>
Date: Tue Oct 20 11:16:04 2015 +0200

    Fix incorrect federated mapping example

    The documentation didn't provide correct example of a mapping rules with
    direct group mapping (with blacklist/whitelist keyword).
    This could led users to a major confusion.

    The example is now fixed. Additionaly, for clarity and increased
    readibility the ``user`` and ``groups``
    objects were split into separate ``local`` rules.

    Change-Id: Iff343f1ff2829ef282a1314fd07203a435611e70
    Closes-Bug: #1507944

Changed in keystone:
status: In Progress → Fix Committed
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/keystone 9.0.0.0b1

This issue was fixed in the openstack/keystone 9.0.0.0b1 development milestone.

Changed in keystone:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.