user_id missing from message about federation roles

Bug #1294781 reported by Steve Martinelli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Low
Steve Martinelli

Bug Description

In the token common provider, the call to _populate_roles_for_groups() is missing the user_id argument, and it is defaulted to None.

Thus, whenever a user is associated with a group that has no roles on either scoped project or domain, then the error message will always be: 'User None has no access to project %(project_id)s'

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/81587

Changed in keystone:
assignee: nobody → Steve Martinelli (stevemar)
status: New → In Progress
Dolph Mathews (dolph)
Changed in keystone:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

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

commit 9508bba042aff640bba427f8427a8f3fc86234cb
Author: Steve Martinelli <email address hidden>
Date: Wed Mar 19 12:56:54 2014 -0500

    Add user_id when calling populate_roles_for_groups

    The call to _populate_roles_for_groups was missing the user_id,
    and was always defaulted to None.

    closes bug: #1294781

    Change-Id: Ic78c66a1cbd0a32630f7247f0176ced2de352921

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
milestone: none → icehouse-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: icehouse-rc1 → 2014.1
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.