c2d8830662
Without this patch, if there are multiple role assignments on the system and they are not all the same role, querying for role assignments with /v3/role_assignments?role.id={role_id} may leak some role assignments that don't match the role_id, making the returned results incorrect. This patch fixes the issue by using a list comprehension instead of a for loop over a list that was being modified within the loop. Change-Id: Icfce3b14abb55c6fef3de1b314cee22fc8b1d08c Closes-bug: #1858012
8 lines
295 B
YAML
8 lines
295 B
YAML
---
|
|
fixes:
|
|
- |
|
|
[`bug 1858012 <https://bugs.launchpad.net/keystone/+bug/1858012>`_]
|
|
Fixes a bug in the /v3/role_assignments filtering where the `role.id` query
|
|
parameter didn't properly filter role assignments by role in cases where
|
|
there were multiple system role assignments.
|