keystone/keystone/tests/protection/v3
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
..
__init__.py Split protection unit tests into its own job 2019-09-16 10:56:42 -07:00
test_access_rules.py Re-enable line-length linter 2019-10-21 08:48:47 -07:00
test_application_credential.py Split protection unit tests into its own job 2019-09-16 10:56:42 -07:00
test_assignment.py Fix role_assignments role.id filter 2020-01-02 09:24:54 -08:00
test_consumer.py Move remaining protection tests 2019-09-18 08:40:39 -07:00
test_credentials.py Fix credential list for project members 2019-12-04 16:42:17 -08:00
test_domain_config.py Re-enable line-length linter 2019-10-21 08:48:47 -07:00
test_domain_roles.py Re-enable line-length linter 2019-10-21 08:48:47 -07:00
test_domains.py Split protection unit tests into its own job 2019-09-16 10:56:42 -07:00
test_ec2_credential.py Re-enable line-length linter 2019-10-21 08:48:47 -07:00
test_endpoint_group.py Re-enable line-length linter 2019-10-21 08:48:47 -07:00
test_endpoints.py Split protection unit tests into its own job 2019-09-16 10:56:42 -07:00
test_grants.py Re-enable line-length linter 2019-10-21 08:48:47 -07:00
test_groups.py Split protection unit tests into its own job 2019-09-16 10:56:42 -07:00
test_identity_providers.py Split protection unit tests into its own job 2019-09-16 10:56:42 -07:00
test_implied_roles.py Move remaining protection tests 2019-09-18 08:40:39 -07:00
test_limits.py Add tests for project users interacting with limits 2019-09-24 19:22:58 -07:00
test_mappings.py Split protection unit tests into its own job 2019-09-16 10:56:42 -07:00
test_policy.py Re-enable line-length linter 2019-10-21 08:48:47 -07:00
test_policy_association.py Re-enable line-length linter 2019-10-21 08:48:47 -07:00
test_project_endpoint.py Re-enable line-length linter 2019-10-21 08:48:47 -07:00
test_project_tags.py Add default roles and scope checking to project tags 2019-09-19 02:48:39 +00:00
test_projects.py Split protection unit tests into its own job 2019-09-16 10:56:42 -07:00
test_protocols.py Split protection unit tests into its own job 2019-09-16 10:56:42 -07:00
test_regions.py Split protection unit tests into its own job 2019-09-16 10:56:42 -07:00
test_registered_limits.py Split protection unit tests into its own job 2019-09-16 10:56:42 -07:00
test_roles.py Split protection unit tests into its own job 2019-09-16 10:56:42 -07:00
test_service_providers.py Split protection unit tests into its own job 2019-09-16 10:56:42 -07:00
test_services.py Split protection unit tests into its own job 2019-09-16 10:56:42 -07:00
test_system_assignments.py Re-enable line-length linter 2019-10-21 08:48:47 -07:00
test_tokens.py Remove legacy protection tests 2019-10-07 12:21:02 +00:00
test_trusts.py Re-enable line-length linter 2019-10-21 08:48:47 -07:00
test_users.py Split protection unit tests into its own job 2019-09-16 10:56:42 -07:00