Comment 6 for bug 1705072

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

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

commit d0ad287df397513dd7cb8dd4da0cae383c6b49b0
Author: Lance Bragstad <email address hidden>
Date: Tue Aug 8 20:31:26 2017 +0000

    Unset project ids for all identity backends

    Previously, the default behavior for the callback that unset
    default project ids was to only call the method for the default
    domain's identity driver. This meant that when a project was deleted,
    only the default identity backend would have references to that
    project removed. This means it would be possible for other identity
    backends to still have references to a project that doesn't exist
    because the callback wasn't invoked for that specific backend.

    This commit ensures each backend clears project id from a user's
    default_project_id attribute when a project is deleted.

    Change-Id: Ibb5396f20101a3956fa91d6ff68155d4c00ab0f9
    Closes-Bug: 1705072