keystone/keystone/assignment
Colleen Murphy c2d8830662 Fix role_assignments role.id filter
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
2020-01-02 09:24:54 -08:00
..
backends Replace 'tenant_id' with 'project_id' 2019-02-04 16:17:52 +01:00
role_backends Add immutable option for roles and projects 2019-09-10 00:03:16 -07:00
__init__.py Convert projects API to Flask 2018-10-11 15:27:46 -07:00
core.py Fix role_assignments role.id filter 2020-01-02 09:24:54 -08:00
schema.py Implement resource options for roles and projects 2019-09-09 22:07:30 +00:00