SQL identity driver does't support backend filtering on membership queries

Bug #1412447 reported by Henry Nash
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Low
Alexey Miroshkin

Bug Description

The SQL identity driver leaves filtering on list_users_in_group and list_groups_for_user to the controller. This is probably a reasonable assumption - although the LDAP driver now does support at least filtering on list_groups_for_user (this is included in https://review.openstack.org/#/c/147612/). It would be sensible for SQL to at least match what LDAP can do (and avoid having to skip the test related to this in test_backend_sql).

Henry Nash (henry-nash)
description: updated
Changed in keystone:
importance: Undecided → Low
Changed in keystone:
assignee: nobody → Alexey Miroshkin (amirosh)
Changed in keystone:
status: New → Confirmed
status: Confirmed → Triaged
Revision history for this message
Lance Bragstad (lbragstad) wrote :

Does this need a spec?

Changed in keystone:
status: Triaged → In Progress
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/179758

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

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

commit 27a744e0bd385a1e358567d89ee7a2660c8941bd
Author: Alexey Miroshkin <email address hidden>
Date: Mon May 4 14:29:34 2015 +0300

    Implement backend filtering on membership queries

    Enable filtering on list_users_in_group and list_groups_for_user in the
    SQL identity driver. The LDAP identity driver currently does not support
    filtering on the listing users for a given group, so test override was added
    to the LDAP driver.

    Change-Id: I8a6d590a05f0332c9d9b393f2c7a840e1bdc31fc
    Closes-Bug: #1412447

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